TJ, Thanks for the reply! I will try out new Element("tagName",{}); (I have a feeling you are right).
As to the YUI issue, it was a syntax error where I was closing anotherFunction below with a ')' instead of a '}' On Tue, Apr 7, 2009 at 5:59 PM, Ananth <araghuram...@gmail.com> wrote: > > I am unable to do the following within the Yahoo UI Library framework > with Scriptaculous: > > YAHOO.namespace("mycompanyname"); > YAHOO.mycompanyname.MyClass=Class.create({ > initialize:function() > { > > } > , > anotherFunction:function(options) > { > > } > }); > YAHOO.register("YAHOO.mycompanyname.ModaViews", > YAHOO.mycompanyname.ModaViews, {version: "0.99", build: '11'}); > > > Any ideas? Also new Element(id,{}); does not work on IE 6.. > > Thanks! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---