Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

simple jquery ajax

Explorer ,
Sep 28, 2009 Sep 28, 2009

HI Folks,

Could soemone please post the code for a simple ajax query. Where the user submits a variable to a database, and gets a loading graphic while their waiting.

I can't understand the examples I can find online.

Many thanks

TOPICS
Advanced techniques
484
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 02, 2009 Oct 02, 2009
LATEST

Simple AJAX query using...?

General concept is simple:

1) you create request (post or get) in JavaScript

2) you submit your request to the server (specifying the JavaScript function that will get the response) and display "Please, wait..." (or graphocs or whatever you want)

3) once the processing function specified in step 2 gets the data it can remove/hide the "Please, wait..." and display data...

The actual scripts will depend on what you want to use... You can write it yourself in JavaScript using

XMLHttpRequest

http://www.w3schools.com/Ajax/Default.Asp

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources