search for: ajaxupd

Displaying 3 results from an estimated 3 matches for "ajaxupd".

Did you mean: ajaxed
2007 Apr 20
15
Need help with something.
Hello, I need a way to send some script in a div or a form field to the server, have the server read it, then return the updated script to the div or form field. I can do the div and form field and such, I just need someone to explain to me how to do this. Can this be done? Thank you very much. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
...cks the percent value & if it''s greater than 10, issues STOP to updater before destroying it (when a STOP is recieved, the onComplete function is called[pbClean()]). <script type="text/javascript"> // <![CDATA[ if (!pb) { var pb = new Ajax.PeriodicalUpdater("ajaxUpdate", "ajax_mailingStatus.php", { asynchronous:true, frequency : 2, onSuccess: pbCheck, onComplete: pbClean }); } var percent = 0; function pbCheck(request,json) { percent = json.percent; } setTimeout(pbKill,5000); function pbKill() { if (percent > 10) { pb.stop()...
2005 Oct 03
0
Prototype Ajax.Request (onLoading and onSuccess) question
...s it gets stuck and never makes it to the function I call onSuccess. Any idea what I am doing wrong? Could I be running up against a race condition? I guess I am assuming that onLoading will always be called and finish before onSuccess. Here is some of the relevant code: var myxa = { [...] ajaxUpdate: function(month) { var url = ''/new/myxaajax.php''; var pars = ''cur_month='' + month; var myAjax = new Ajax.Request(url, {method:''get'', parameters: pars,...