Learn Ajax Archives - Coding Cyber

Archive

Category Archives for "Learn Ajax"

Debugging AJAX Request

Debugging AJAX Request To debug any values in PHP code, just use echo with the return. So the rest of the code won’t be processed, you will be able to see the value in the variable. Other Articles in Learn AJAX AJAX Basics Using Console Log in AJAX Passing Data with AJAX Event Listeners in […]

Continue reading

Example Code of AJAX Request

In this step, we will see how to create a Real example of Ajax Request with GET & POST using the input field. We will apply all the techniques learned in the previous steps. Let’s start it with sending values in URL with GET method. Submitting AJAX Request with GET Method Here we will learn […]

Continue reading

Event Listeners in AJAX

Adding Event Listener Instead of executing JavaScript function on click event of the button. We can make it better by adding an Event Listener. First of all, I’ll update the button code by removing onclick event and adding an id with ajax-button. Other Articles in Learn AJAX AJAX Basics Using Console Log in AJAX Passing […]

Continue reading

Passing Data with AJAX

Getting different types of data from PHP file In this step, you will learn about working with different types of data types in Ajax & PHP. First of all, we will see how to use HTML & PHP, then we will go into using PHP Arrays. And finally JSON formatted Data. Other Articles in Learn […]

Continue reading

Using Console Log in AJAX

We can use console log to log the messages in the console so that we can see these messages in browser. With these console messages, we will know where we are with the code and what’s happening in the background. Other Articles in Learn AJAX AJAX Basics Using Console Log in AJAX Passing Data with […]

Continue reading

AJAX Basics

Creating a Simple AJAX Request with JavaScript In this first step, you are going to learn about creating a simple Ajax Request. So that this can be reused in other Scripts, this step is like basics to entire AJAX. If you understand this step, you can create Ajax functions on your own later after completing […]

Continue reading