Home Php PHP jQuery Example



PHP jQuery Example
Posted on: April 18, 2011 at 12:00 AM
This page discusses - PHP jQuery Example

PHP jQuery Example

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

Main features of jQuery are as follows:

  • Ajax
  • CSS manipulation
  • DOM element
  • Events
  • Extensibilty
  • Utilities ....etc.

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 www.jquery.com and place this file into the directory where you will develop the php files.

Example:

<html>

<head>

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

<script type="text/javascript">

function dispContent()

{

$.ajax({

url:"jquery.js",

success:function(data)

{

$("#content").html(data);

}

});

}

</script>

</head>

<body>

<p>

<center>

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

<br/>

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

</center>

</body>

</html>

 

 

Related Tags for PHP jQuery Example:


More Tutorials from this section

Ask Questions?    Discuss: PHP jQuery Example  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.