Hi
I have a javascript function
updateHiddenField(value)that gets a value as parameter and then sets this value as the value of a hidden field.I have a JavaBean
flightwith parametersidandflightNo.
Problem: How can I pass the parameter id of JavaBean flight to the js function updateHiddenField(value) when using <html:link> tag(struts)?
<html:link href="javascript:updateHiddenField(idToPassHere)"><bean:write name="flight" property="flightNo"/></html:link>
Thanks Umar