Hi, I'm new to Chrome, I decided to port a few of my firefox addons to Chrome. Hit a bit of a wall and I'm sure I'm being stupid, but can't see the forest for the trees.
I've got a web page completely loaded, it contains a TEXTAREA called 'edit-body' but my getElementById doesn't seem to work, but in Firefox it does.
Firefox result = [object HTMLTextAreaElement]Code:var e = document.getElementById('edit-body'); alert(e);
Chrome result = null
Would anyone like to point out my blatantly obvious error / stupidity.
Cheers
Phil


LinkBack URL
About LinkBacks




Reply With Quote
