I want to use isElementContentWhitespace on text nodes,
but not all browsers support it, so I need to check if its supported,
then if is, use it, if not implement jquery's $.trim...
i've tried doing something like this with no luck on IE, good on FF:
var testEl = document.createElement('span');
testEl.innerHTML = ' ';
alert( testEl.firstChild.isElementContentWhitespace );