struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emi Lu <em...@encs.concordia.ca>
Subject Re: <s:submit onclick="return false" still call the action in IE 9!
Date Tue, 11 Oct 2011 15:50:34 GMT
On 10/08/2011 04:40 AM, Li Ying wrote:
> This page may help:
> http://www.ontola.com/en/javascript-onclick-return-false-does-not-work-in-i

Thank you Ying!

I fixed the problem. It seems that ajax firefox return str !='' but and 
a trim is needed. while IE it returns str ==''.

But IE will not accept str.trim;

but have to add a trim function.

Thanks a lot!
Emi

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message