I am using XSL, and trying to get a template to change appearances depending on a radio click. Here is my xsl:
<xsl:template name="process">
<div id="option1" style="display:none"/>
<tr>
<b> Processing Option 1 </b>
</tr>
</div>
<div id="option2"/>
<tr>
<b> Processing Option 2 </b>
</tr>
</div>
</xsl:template>
How would I access the two different <div>'s? My intention is to access these two different <div>'s through buttons; when one button is clicked, the template will show option 1, and when another is clicked, option 2 will show.
I have the buttons set up, but Im not sure how to access these 's and switch them from display:none, to display:block, and from display:block, to display:none.
Please let me know what I can do. Thanks!
Aucun commentaire:
Enregistrer un commentaire