PHP jQuery Example

jQuery:  jQuery is a JavaScript library which accentuates interaction between JavaScript and HTML.

Main features of jQuery are as follows:

In this tutorial you will come to know about basic feature of jQuery with the help of an example.

First of all we need to download jquery.js (latest version ) file from and place this file into the directory where you will develop the php files.




<script type="text/javascript" src="jquery.js"> </script>

<script type="text/javascript">

function dispContent()















<input type="button" value="click" onclick="dispContent();">


<textarea id="content" rows="10" cols="50"></textarea>