G'day

is there anything wonky with .setAttribute, sometimes not working in
Firefox?

According to the www.QuirksMode.org compatibility tables, attribute manipulation is a ... mess across browsers.


It says however that Mozilla 1.75 supports SetAttribute0. Firefox 1.0 uses the Mozilla 1.75 engine so it should work.

windowdiv.setAttribute("className",wclass);
windowdiv.setAttribute("id",name);
the classname is not being set
any suggestions?

Have you tried class instead of className?

Regards
--
Bert Doorn, Better Web Design
http://www.betterwebdesign.com.au/
Fast-loading, user-friendly websites

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to