struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour <mansou...@yahoo.com>
Subject Re: ajax - Submit a form
Date Tue, 22 May 2007 04:44:55 GMT
I FOUND IT. Apparently it's not possible to modify the DOM during the 
request. But when it's over we can do it:

Here's the code:

<script type="text/javascript" language="javascript">
dojo.event.topic.subscribe("/disableAll" , function(data , type, request) {
      if (type == 'load') {
         disableInputs(true);
      }
 });
</script>


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


Mime
View raw message