File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Jquery Event Sequence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Jquery Event Sequence" Watch "Jquery Event Sequence" New topic
Author

Jquery Event Sequence

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
Hi All,

Good Day!
Can anybody give me some advice on my problem below.
Its on the chaining of events that I cannot make things work. I used form plugin for passing ajax to my Spring 2.5 Controller

My problem is in this line


When the JSON response return with success, I am showing a jquery UI dialog. Now my problem is, all other
events happen at the same time.
What I want is to have each function run after the completion of the other.
Say, the events will be like this:

1. Display the message.
2. User click OK then
3. Disable other forms
4. Some gui update (changeQualStatus)

I am not able to code at the CLOSE event of the jquery ui dialog since I made it a global function that displays any message pass to it.

Sorry for the lengthy code but I already strip out many of it to make it readable.

Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If you made the function that disallows what you're trying to do can't you make a function that does?
Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
If you made the function that disallows what you're trying to do can't you make a function that does?


Hi David, this really makes sense.

I should poke myself with this.

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jquery Event Sequence
 
Similar Threads
Value in the textarea is not retaining in jquery popup modal.
Replacing Element Body with jQuery.load(), What Happens To Old Elements?
I want to implement editable autocompleter in struts2 using jquery.
jQuery-UI Dialog Container goes missing
Jack Up Browser Viewport