How to fetch data from database in ajax using php | Ajax using Javascript | Ajax when click button

Опубликовано: 01 Октябрь 2024
на канале: Parallel Code
911
23

Learn bout how to create ajax using javascript | how to fetch data from database in ajax concept | how to create ajax in javascript | how to append data in div element using ajax in javascript | how to create ajax in js in offline | How to ajax call in javascript js

XMLHttpRequest class is used for ajax concept in javascript, we can access the open method using this object. So open method has 3 parameters, method, url, async

send method is very important to send the data from the requested page.
we can check the status and find the response data using responseText property.