pub fn get_contents(elements: &Tree<Element>, textbox_id: &NodeId) -> String
Utility function to get the textbox contents