I´ve never done this before, but I have a text here that could be helpful.
Try this:

document.all.mytd.style.getAttribute("colspan",case)

where case is a string with value "true" if you want case sensitive or
"false" if you don´t.

Hope this works

Fran

> -----Mensaje original-----
> De:   [Vaishali S. Pandya] [SMTP:[EMAIL PROTECTED]]
> Enviado el:   jueves 23 de mayo de 2002 10:12
> Para: [EMAIL PROTECTED]
> Asunto:       u can not get COLSPAN in javascript
> 
> i have tried a lot
> and don't able to know colspan of mytd which is <td id="mytd" width="10%"
> colspan=5>
> in
> 
> alert(mytd.id)
> alert(mytd.width)
> alert(mytd.colspan)
> 
> it gives me
> 
> mytd
> 10%
> undefined
> 
> Why?
> 
> Vaishali
> Relience Ind Ltd
> A'bad
> 
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
> 
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to