Changing button label

A

Alex Irazabal

My apologies if this is a duplicate message (the first one got an error...). Is there a way to chage the text of a label at ruintime via jscript? I've tried binding the button to an element but the option is not available.
 
A

alex

Steve, it still is not working. Here is what I did: I inserted the
following within the body of the XML -
<xsl:apply-templates select="my:field1" mode="xd:preserve"/>

Then at the end of the </html> tag I inserted the following:

<xsl:template match="my:field1" mode="xd:preserve">
<div align="center">
<font face="Verdana" color="#ff0000" size="2">
<input class="langFont" title="" style="FONT-SIZE: medium; HEIGHT:
55px" type="button" value="{my:field1}" xd:xctname="Button"
xd:CtrlId="btnConfirm" tabIndex="0"></input>
</font>
</div>
<xsl:value-of select="."/>
</xsl:template>


The value of the "button" is being diplayed as a label underneath the
actual button? Any ideas???
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top