This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jquery Event Sequence

 
Mark Reyes
Ranch Hand
Posts: 426
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 426
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic