Synchronous form field validation with Atlas/AJAX against a databa

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Okay, so javascript validation is all well and good, but how would I use that
to stay synchronous if I am validating against a server side database? Can I
use some sort of modal dialog/loadingscreen? if so, how would I go about
doing that?
 
ajax is async. if you want to validate a postback with an ajax library, then
have the ajax completion routine do the postback, not the button click.

-- bruce (sqlwork.com)
 
Hi,
ajax is async. if you want to validate a postback with an ajax library, then
have the ajax completion routine do the postback, not the button click.

-- bruce (sqlwork.com)

It is possible to send synchronous requests using XmlHttpRequest
objects. However, I would really recommend against that, as the whole
JavaScript engine is blocked waiting for the response.

HTH,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top