[Javascript] setting 'rowspan' attribute in DOM

Peter-Paul Koch gassinaumasis at hotmail.com
Sun May 6 09:51:06 CDT 2001


>I'm trying to create a table dynamically inside a DIV. I am able to set the 
>'width' attribute of the TD tags ok but can't set the 'rowspan' attribute. 
>It keeps returning '1'. Am I doing something stupid?

For IE you need

setAttribute('rowSpan',3)

The capital 'S' is required in IE and it doesn't hurt NN6. Maybe that's 
what's wrong?

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the Javascript mailing list