You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by jaskirat bamrah <ja...@lighthouseindia.com> on 2014/05/14 13:40:47 UTC

Struts2 onchange event should do the same like submit(with ajax tag). How ?

just go through ..this .may help
<%@ page contentType="text/html; charset=UTF-8"%> 
<%@ taglib prefix="s" uri="/struts-tags"%> 
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%> 
<head> 
<s:head theme="ajax" /> 
</head> 

<s:label value="Select a group" /> 
<s:autocompleter theme="simple" id="tags" list="reporttablelistname" onchange="reporttable();" /> 
<script type="text/javascript"> 
function reporttable() 
{ 
alert("hello"); 

}