I am using spring,i need to create XML file when i click on a button. I need to pass the value of a hidden element as parameter in href.
How can i achieve this , any help would be appreciable
snippet of my code am attaching here
<div class="portlet-body no-more-tables" id="testf">
<input type="hidden" id="testID" value="dd"><br/> <div style="margin-left:100px">
<a style="" href="incident/test/testHref.do?testID=<%=testID%>" id="createReport"> Create Report </a>
</div>
</div>