-
Javascript Code
Can I get the Javacript code for check all the Child checkboxes, on clicking the Master check box.(Just like hotmail does) The child checkboxes are generated with stylesheet code and its not HTML.
This is the stylesheet code (in an .asp page) to generate the child checkboxes.
Following is the stylesheet in an .asp page
Code:
<XML id='listXSL'>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<table width="100%">
<xsl:for-each select="/itemlist/item">
<tr>
<td width="40" class="fmText4"><input type="checkbox" name="chkChild" value="chkChild"><xsl:attribute
name="name">chk<xsl:value-of select='id'/></xsl:attribute></input></td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
</xsl:stylesheet>
</XML>
-
Re: Javascript Code
I've already answered your post in the HTML forum. Do not crosspost, it's extremely annoying and does more damage than good for you.
-
Re: Javascript Code
Extremely sorry! Will not do this again. Thanks for the help.