A cross-browser function for getting and setting the text value of a DOM element.