Does anybody have good knowledge about prototype's DOM creator.
Something like this ..
var Link = new Element('a', {
href: 'layout.php'
});
document.body.appendChild(Link);
.. doen't work. My Firebug shows an error: "Object cannot be created
in this context" code: "9"
I don't know what that means. Isn't there a native Element constructor
in modern Browsers like Firefox that prototype extends?
Andi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---