In the file here :
http://trac.mochikit.com/browser/mochikit/branches/scriptaculous/MochiKit/New.js,
you have the method 'setStyle' that doest the job for you. It may be in
the next MochiKit release :).

-- 
Thomas

Reply via email to