[web2py] Re: AJAX in Web2py -> Synchronous

2011-01-28 Thread Phoboss
aScript-aware browsers will normally interpret JS code between the tags and " Thank you for the clarification! Best Regards Phoboss On 28 Jan., 01:17, Anthony wrote: > On Thursday, January 27, 2011 6:55:24 PM UTC-5, Phoboss wrote: > > > OK, I tried to change the code of web

[web2py] Re: AJAX in Web2py -> Synchronous

2011-01-27 Thread Phoboss
e mentioned jQuery-Command: jQuery.ajax({type: "POST", url: u, data: query, async: false, success: function(msg) { if(t) { if(t==':eval') eval(msg); else jQuery("#" + t).html(msg); } } }); So, finally it works now, however, I don't get why everything was comme

[web2py] Re: AJAX in Web2py -> Synchronous

2011-01-27 Thread Phoboss
Hi Denes, firstly thank you for your swift response! I'm now at work. So in 4 hours or so I'll try it at home. After that I'll report here if it's works. Best Regards Phoboss On 27 Jan., 15:49, DenesL wrote: > Hi Phoboss, > > web2py uses the jQuery.ajax API whic

[web2py] AJAX in Web2py -> Synchronous

2011-01-27 Thread Phoboss
Hi Experts, how can I turn off asynchron AJAX in web2py? It sounds strange but I need it synchronous! BTW, I implemented this example: http://www.web2py.com/book/default/chapter/10#Ajax-Form-Submission Thank you so much! Best Regards Phoboss