Getting the larger of two divs floated side-by-side to exten

I have two s which look like this:—————————| | || DIV 1 | DIV 2 || | |—————————The first div...

Check if a String is HTML or XML

Is there a way to check if a String is HTML or XML in JavaScript? Preferably using jQuery rather than some other library? Why I need to do this is because I need to know if it possible to have a function...