Ajax Technology
Ajax (Asynchronous JavaScript and XML) technologies have become increasingly popular in webpage design. With Ajax development, you can submit form data to the server without refreshing the page. Let’s say you are filling out an online registration form. You enter your username, email address, and other details, and submit the form. At the server end, it detects that the username has already been taken by another user. It generates an error message and asks you to choose a different username. Without Ajax, you would have to fill out the entire form again, unless the server sends your data back to you through a query string. Additionally, sending personal information through a query string is not very secure. In such cases, submitting data through Ajax development is the best solution. Another useful feature of Ajax development is the ability to send custom data (such as the user’s IP address) that is not part of the form fields.
Ajax data submission, like traditional data submission, can be of two types: GET and POST. The relative merits and demerits are the same as traditional data submission.
Here’s how data is submitted using Ajax:
- When the user submits data by pressing
Recent Comments