struts2.0的ajax兼容问题
在使用struts2.0标签
<s:autocompleter theme="ajax" name="zxw01" href="%{userCode}"
loadOnTextChange="true" loadMinimumCount="1" indicator="indicator"
autoComplete="false" showDownArrow="false" onchange="getuserName()" theme="simple"/>
如何使用onchange事件.我上面的用法怎么不能激发这一事件!!
后来发现onchange事件不能激发的原因是因为与struts2.0的ajax框架发生冲突!
<s:head theme="ajax" debug="true"/>
如果我不用struts2.0的ajax的话onchange事件是可以触发的!
如果我两者都要用,如何解决冲突的问题!!