Link to home
Start Free TrialLog in
Avatar of cofactor
cofactor

asked on

Doubt on submit button doc

http://code.google.com/p/struts2-jquery/wiki/SubmitTag

What does  onBeforeTopics do  in   <sj:submit ../> button ?

Attribute :
onBeforeTopics ---->Topics that are published before a load

My confusion is, does the Topic  activates as soon I click the submit button but before result  comes up ?
Please clarify.

ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cofactor
cofactor

ASKER

>>>so if topics loads something, onbeforetopics should be triggering before the ajax call

If my  topics loads button disable  that will mean if I click the button , this should be triggering before the ajax call  and  the button will be disabled right away before the ajax call.

Is that correct ?
Not clear on what you mean by "loads button disable"
on you comment

>>>so if topics loads something

>>>Not clear on what you mean by "loads button disable"

I take (for an example)  the topic is  doing button disable using jquery $('#button_id).attr('disabled','disabled')

Do you get it now ?
Still does not make much sense to me since I cannot find what a topic is or what ontopic does
Ex