filmov
tv
AJAX XML Example | Hindi | 100% Practical
Показать описание
Example Explained
When a user clicks on the "Get CD info" button above, the loadDoc() function is executed.
The loadDoc() function creates an XMLHttpRequest object, adds the function to be executed when the server response is ready, and sends the request off to the server.
When the server response is ready, an HTML table is built, nodes (elements) are extracted from the XML file, and it finally updates the element "demo" with the HTML table filled with XML data:
#hindi #free #application #optimization #trick #troubleshooting #solution #answers #questions #web #js #developer #error #programming #prod #html
When a user clicks on the "Get CD info" button above, the loadDoc() function is executed.
The loadDoc() function creates an XMLHttpRequest object, adds the function to be executed when the server response is ready, and sends the request off to the server.
When the server response is ready, an HTML table is built, nodes (elements) are extracted from the XML file, and it finally updates the element "demo" with the HTML table filled with XML data:
#hindi #free #application #optimization #trick #troubleshooting #solution #answers #questions #web #js #developer #error #programming #prod #html