Skip to main content

Posts

Showing posts from September, 2018

jQuery how to make simple ajax call

In this tutorial, we will see how to make simple ajax call using jQuery. jQuery is widely used in almost all type of web development platform to make a flow of an application simpler and faster. AJAX these days, is very popular technique specially used when we don't want to reload site or want to avoid redirect after form submission or want to load specific section on the page. It is a very easy technique that can do many thing/tasks. In this tutorial, we will learn to make an ajax call on form submit event. But to understand ajax, you need to have a basic understanding of JavaScript and html as we are going to use both the technologies to explain. Please see below code carefully. HTML Code HTML file - registration.html <!DOCTYPE html> <html> <head> <title>Registration</title> </head> <body> <form id="registration_form" name="registration_form" action="registration.php" method="POST"