> function(obj){
>      Element.writeAttribute(obj.elname, obj.attr, obj.newValue);
>
> }
>

Isn't is Element.writeAttribute('obj.elname',
{'obj.attr':'obj.newValue'});

At least Element.writeAttribute('username', {'id':'testId'} ); is
working for me :) using FF3 and  firebug console

I haven't tried with objects :)

Quleczka
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to