What is Ajax and what's use? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is Ajax and what's use?

22nd Aug 2016, 6:10 AM
Dinesh
Dinesh - avatar
10 Answers
+ 1
Ajax is basically used for updating a particular section of a webpage without updating the whole page again and again
22nd Aug 2016, 3:25 PM
Himanshu Sharma
Himanshu Sharma - avatar
+ 1
For Example : You have 1 [form] with [text input] for name and [submit] button . You want to save the name entered in text box . But don't want to reload the whole page again . To do this AJAX will used .
22nd Aug 2016, 5:05 PM
Kon I am
Kon I am - avatar
+ 1
Ajax is a method used to bring together a variety of different languages to present the user with a more useful and dynamic solution. Javascript runs client side, php and SQL are server side - if using one or the other the two systems can rarely talk (when a page has stopped loading, no further requests are made to the server, therefore data stored in tables are not accessible). when using Ajax, a server side script runs on command called by a javascript function, usually actioned by a page event such as "onClick" or "onChange" etc (without reloading the page). The returned result is then usually dropped into the page using javascript (there is nothing stopping you writing to tables either). common uses of Ajax can be found on social sites (where new content appears in the page such as a new post or chat notification), or form validation (such as checking for used usernames on a sign-up form before the user submits the page)
22nd Aug 2016, 9:35 PM
Greg Simons
Greg Simons - avatar
0
ajax is : asynchronous java script and xml
22nd Aug 2016, 8:10 AM
Dinesh
Dinesh - avatar
0
you have ajax related any knowledge
22nd Aug 2016, 10:39 AM
Dinesh
Dinesh - avatar
0
thanks himanshu
22nd Aug 2016, 3:47 PM
Dinesh
Dinesh - avatar
0
but more then diple hows eplement
22nd Aug 2016, 3:48 PM
Dinesh
Dinesh - avatar
0
it is a client side script.. suppose we have a customer table now we want to show the details of a particular customer..in this case we can use filters.. we need to update a particular section according to user requirement..in this case we use Ajax
22nd Aug 2016, 4:01 PM
Himanshu Sharma
Himanshu Sharma - avatar
0
To move your hand do you move your complete body ? no right ? Like that only without loading whole page 1 part of page get updated .
22nd Aug 2016, 5:00 PM
Kon I am
Kon I am - avatar
0
thanks friend
23rd Aug 2016, 3:04 AM
Dinesh
Dinesh - avatar