hi thanks for the reply, but i can't figure out the syntax for accessing
the variable. I also tried the function but i have problems with it.
this is my sample code:
<input name="txtPhone" type="hidden" >
<xsl:attribute name="value"> <xsl:value-of
select="ffe:XML/ffe:Contact/ffe:Telephone"/>
</xsl:attribute>
</input>
<script language="javascript">
var fone= formatPhone(document.all.txtPhone.value);
</script>
<xsl:variable name="cPhone"> <xsl:value-of select="$fone"/>
</xsl:variable>
In this sample code, i have xsl variable cPhone and the value of it
should be the value of a javascript variable fone, but it doesnt work.
waaahhhhhhh please help.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!