Is it just me or does the following line crash Firefox
not that it's supposed to work anyway, just curious :)Code:var textElement = document.createElement("#text");
Printable View
Is it just me or does the following line crash Firefox
not that it's supposed to work anyway, just curious :)Code:var textElement = document.createElement("#text");
Its because of the hash '#' and the way the firefox DOM interprets thes commands, as the hash key in font of a node or element is representetive of a core element, and if it doesnt recognise it, it falls over.
Its a damn pity they banned fox hunting in britain, as id probably launch a comapign to kill this little BAS**RD as I relly dont like firefox....
Kai