Working on JavaScript projects, you come across a lot of functions that require you getting a hold of the contents of a HTML element, and manipulating it in some way: performing a string search, splitting it up, concatenation, replacing a string in it or copy to another element. more