Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Trying to write a JavaScript variable the value of a form field [Thread Next] Re: [xsl] Trying to write a JavaScript variable the value of a form fieldTo: Date: 10/4/2005 7:33:00 AM Hi,
<input value="<script src="{$themePath}/scripts/link-parsed-variable.js" type="text/javascript"><xsl:text> </xsl:text></script>" name="uP_fname" type="hidden" />
This doesn't look like well-formed xml to me, nor like good HTML either. You cannot use elements
inside attributes.
I want to put a javascript document.write within the <input value=""...
Can't you do something like this:
<input name="myinput" value="" .../>
<script>
myinput.value = "myvalue";
</script>
Cheers,
Geert | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
