Best way to use ajax loading on s:submit

2012-01-09 Thread Leonardo Almeida
Hi, i would like to know what's the best way to load a page, when a user clicks on the menu (ajax loading). Im currently using struts-jquery plugin: sj:a href=editUser targets=content/a where content is a div id. editUser.jsp result page have a s:form with a submit button. Using s:submit

AJAX loading

2009-06-16 Thread Felipe Fraga
Hello, Could anyone give me some idea about how to set a loading image in a DIV while executing an AJAX action? For example: I click a s:a theme=ajax targets=someDiv. I want someDiv to show a customized loading image while it is loading. What's the easiest or best way to achieve this? I have