How to call action on onchange event with select option in struts2.
Here is my code and how can I integrate with On change event.
<s:select name="menuItem" list="menuItems" listKey="menuItemID"
listValue="menuItemName" headerValue="--MenuItems--"
cssClass="selectbox_bg2" id="select" />
Can anyone please provide an example..
Thanks,
There is no difference in how you apply
onchangeor any other javascript event handler to struts tag as compared to regular HTML tags. Struts2 select Tag RefJavaScript
Or if you are using jquery then