How content of web page change without reload ?




Many student are unable to find out how the content of web pages  change without reload

 It might be inbox of  your gmail,  on refresh button click no page reload takes place but mail got updated


It might be form on submit ,without reload it show you that you are already registered .

Not a valid number when you fill somewhere your wrong mobile number in a moment it will show you popup , the mobile number is not valid.






For example if you refresh reload button of mailing list no loading shoes on browser loading previous to the URL bar .


Here comes the l ead player Ajax 



Ajax 

Ajax  play role  like agent it send data to server behind the scene by http protocol and get data back and then other work done by Javascript  this  all happened behind the scene , user  don't know what is going on.


Ajax stands for  Asynchronous Javascript and XML because it send data Asynchronously in xml and get data from sever in xml , but now days it also uses Json stands for  Javascript  object Notation.

we will talk about its working and how it used in later post , here simply we provide you some use cases of  Ajax


1  we all fascinated by  Facebook and we all  likes our friends post and images , think if we press the like  button and page reload and then increase the count and when it reloaded it take us to the first post we saw on page ,

again we scroll down and again we like some ones post it again reload the page its very boring and awkward and know one want to use this .

so ajax is used for like a post and increase the count of likes behind the scene without reloading the page this simply makes a request to server and code runs on server which update the like count .


You want to learn more about ajax please write us in comments or mail us 







Comments