The following line of javascript gets a Uncaught TypeError: Object #Text has no method 'getAttribute' in chrome and safari but not in IE.
this.Element.getAttribute("whatever")
I get that this.Element is the main problem, but would like a temporary fix for debugging other parts of the code. How can test to see if a function is available on an item without getting a javascript error?