|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Set XSL-Value in a JavaScript
henry human wrote:
<xsl:template match="/details"> <html> <head> <script type="text/javascript"> function OnSendForm(emailAdress) { document.myForm.action =emailAdress; } </script> Why do you use JavaScript to set the action? Unless you plan on having different buttons to set different actions you could simply directly set the action attribute of the HTML form element: <form action="{/details/address}" method="POST" enctype="text/plain"> -- Martin Honnen http://JavaScript.FAQTs.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






