This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a dropdown in the xsl form. When I select a value from the dropdown, I would like to retain the selected value for further calculations, when the onLoad() function is called. I have tried retrieving the selected value using the onchange function and passing it to onLoad(). But the variable does not get passed. I also tried hidden variables, but nothing works. I'm not sure where I'm going wrong. The following is my code
Now if I understand your post correctly, you want to pass information from that page (which is HTML, remember) via the form to the next HTML page which is displayed. So when the form is submitted, it has to include that information.
It's impossible to deal with the problem if you only display the XSLT code which generates the page. You have to look at the generated HTML and figure out how to make that HTML do what you need it to do. Then when you have done that, fix the XSLT code to generate HTML which does what you need it to do.