Jump to content
Sign in to follow this  
Guest nicepants

AJAX Tutorial Incomplete?

Recommended Posts

ya me 2 looking for a AJAX example for fetching data from database. if you find it please let me know. i looking for a example that fills dropdownlist using AJAX in asp.net

Share this post


Link to post
Share on other sites

AJAX basically combines existing technologies. The main difference from other javascript tutorials will be the sending and receiving of information to a server-side script. The server-side script, however, will be the same server-side script as any other tutorial will discuss.To write server-side scripts for AJAX you need to know:1) How to write a server-side script2) How to access variables passed to the script (ex: through the query string)3) How to send a reply from a server-side script (same as printing out "Hello World")To implement the fetching of database information you just need to know the above, as well as how to access a database from a server-side script. These things are not unique to AJAX at all.So again, the only new knowledge you should need for AJAX is how to deal with sending and receiving the XML object.Some references fare listed below ASP (Get query string info)http://www.w3schools.com/asp/asp_ref_request.aspADO (Database Access with asp)http://www.w3schools.com/ado/default.aspPHP (Get query string info)http://www.w3schools.com/php/php_forms.aspPHP + MYSQL -> search for tutorialsThere are of course many detailed tutorials of AJAX on the web. I would never recommend you use any ONE source - so go read and practice until you get it.(I only talked about the query string, but the reality is you will be dealing with GET or POST information)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...