PDA

View Full Version : opera and document.createElement


enme
22.04.2002, 01:26
What the hell is with opera(6) and document.createElement?

I do this:
if (document.createElement){ alert(); }

and the document alerts. But, when I try and create the element set attributes and document.appendChild it does not work.

aboodman
22.04.2002, 02:52
known issue. opera engineers people can lick my arse.

// aaron
// aaron@youngpup.net
// http://www.youngpup.net

Icestorm
22.04.2002, 07:47
What Aaron said...

Also, you could check for appendChild before using the createElement method. That will get you around this crap.

<font face='Verdana'>:: [url="http://13thparallel.org/"]13thparallel[/url:ji4bm2u3jb] ::</font id='Verdana'>

enme
22.04.2002, 13:34
Yeah I came up with that last night while I was laying down attempting to sleep. Haven't tried it yet.