Don’t know what is Ajax and looking for most simple yet effective Ajax tutorial including topics such as Ajax grips, Ruby on Rails data Ajax and more. You are in the right place and first, let’s know what exactly what it means.
Ajax stands for Asynchronous Javascript and XML. It improves the user's web application experience while retaining the HTML benefits of server-based application deployment. Ajax is a design approach and a set of techniques for creating a highly interactive user experience for Web applications in popular web browsers. Language changes its techniques therefore represent the continued evolution of DHTML to deliver Rich User Experience and the Web 2.0 experience.
Now when you know what is Ajax, we will now offer you many Ajax tutorials covering topics like Ajax grips, Ruby on Rails data Ajax and all other useful topics.
After knowing what is Ajax, now you need to know how it works to learn Ajax tutorials and understand topics such as Ajax grips, Ruby on Rails data Ajax etc. better, which we will discuss later.
When you use AJAX, the AJAX call fires, and send a request to a server, using XMLHttprequest. The server-side programming languages like PHP, ASP etc. takes the input from Javascript, to access the database if it needs to, and processes the data. Using XMLHttprequest again, the script sends the data back to the original client-side page that made the request.
There are three main properties of the XMLHttpRequest object are called onreadystatechange, readyState and status.
In Ajax, possible readyState values after sending an XMLHttpRequest are:
This must have explained what is Ajax and how it works. Our Ajax tutorials will throw more light on different topics such as Ajax grips, Ruby on Rails data Ajax etc. and many more.
Even what is Ajax is not as important as how to use it. If you know the uses, our Ajax tutorials will definitely help you learn Ajax grips, Ruby on Rails data Ajax and many other topics as well. A combination of XMLHttpRequest and ActiveXObject ("Microsoft.XMLHTTP") allows you to use AJAX. XMLHttpRequest codes are for IE7+, Firefox, Chrome, Opera, Safari whereas ActiveXObject ("Microsoft.XMLHTTP") codes are for IE6, IE5 browsers only.
View Plain - Print Sample Code:
- <script type="text/javascript">
- function ajaxCall(){
- var req;
- if (window.XMLHttpRequest){
- req = new XMLHttpRequest();
- }
- else if (window.ActiveXObject){
- req = new ActiveXObject("Microsoft.XMLHTTP");
- }
- </script>
- </head>
An XMLHttpRequest contains a set of properties like:
I hope what is Ajax and how to use it is clear to you. Now I think our Ajax tutorials will inform you about Ajax grips, Ruby on Rails, Data Ajax and many other topics as well.
Apart from knowing what is Ajax and it is equally important to know what are the advantages of using it. Now I think you will be more interested in our Ajax tutorials and learn about topics such as Ajax grips, Ruby on Rails, Data Ajax and many more.
Hope you are inspired to learn what is Ajax and after knowing the advantages you will pay more attention to our Ajax tutorials and learn about topics such as Ajax grips, Ruby on Rails data Ajax and many more.