Using jQuery AJAX and PHP how to fetch data from a MySQL database table as JSON format. The PHP script retrieves the MySQL tables records and send to client side jQuery Script as JSON string format. This tutorial also explains how to retrieve data from MySQL database in JSON format using PHP, AJAX & jQuery and how to convert MySQL records or rows in JSON format using PHP and jQuery.
Category: JavaScript
The JavaScript tutorials written by JavaScript tutors of onlinecomputerteacher.net. Learn the complex sides of JavaScript jQuery. With some nice & simple JavaScript programs the JavaScript topics has been explained.
Blog > JavaScript free courses & tutorials
Functions in JavaScript
Before stating anything new, I assume you have some idea on functions used in programming languages. Here I have shown how JavaScript is different from traditional function usage in c c++ Java. The traditional use of functions used here in statement form.
The Document Object Model (DOM) is the model that describes how all the Elements/Tags/ Selectors in an HTML / XML page, are placed as a TREE structure or hierarchical structure, inside the document. How each DOM elements can be accessed and manipulated. In this tutorial you will learn the basics of DOM object model.
Example of Global variable in JavaScript. In this program when you select a drop down element then JavaScript function is called and the select element is passed to the function and function updates the global variable inside the function and add the select element’s option element’s value to the global variable and the output is displayed.