Shadraq wrote:
Donny

Thanks for the tip about Pastie. I so was not aware of that.

http://pastie.org/499915


I have examine your code. Same with my suggestion before, try to define $.ajaxStart outside the function, because it just need to defined once in a page.

About the $.ajax, I never use it. Using $.get and $.post is more easy than using $.ajax. I never got any problems with $.get and $.post

I think you must call ReloadPage() and change the l_processing and control value inside the callback for ajax call.

This is the example for login:
$.post("login.php",
  dataString,
  function(r){
    ReloadPage();
    l_processing = "no";
    control = "no";
  });

I Hope it work.

--
Donny Kurnia
http://blog.abifathir.com
http://hantulab.blogspot.com
http://www.plurk.com/user/donnykurnia

Reply via email to