Shankar Tanikella wrote:Hi, Genuinely submit the form i.e. set these values in the form using onClick javascript method call which submits the values and retrieve the same in action.
These values are not to be obtained from the user. I am printing a list of items, where in each item is associated with a unique Id which is confidential. Each list is also a link in itself; so when I click on this link I am redirected to the next page depending on the confidential id I want to pass. I have used the html:link
struts tag to create a link. I want to pass that confidential id upon every click.
How should I set the values in the javascript? Won't these values be treated as plain javascript variables and will not be passed on the form submit?
If possible please provide a code, I am unable to find a solution to the above