// Note : First include jquery.js file..... <script type="text/javascript"> var auto_refresh = setInterval( function () { $('#load_div').load('load.php').fadeIn("slow"); }, 100000); // refresh every 10000 milliseconds </script> //index.php <div id="load_div"> </div> //load.php In this page you can write your code. like load randam user,image etc....
how to refresh particular div tag content without reloading page using jquery?
Comments
2 responses to “how to refresh particular div tag content without reloading page using jquery?”
-
<?php if(isset($_REQUEST["sr"]))
{$ss = $_REQUEST["search"];
$sql = "select * from ques where ssid = '$ss'";
$sel= mysql_query($sql);
//$sel1= mysql_fetch_array($sel);
while($sel1= mysql_fetch_array($sel)) {
echo $sel1['question']."”.”by”.$sel1[‘user’].””;}
}
?>this is ma page named pannel2.php the search should happen automatically
pls help me-
which type of search you want ?
Please don’t used $_REQUEST
Give me a specific description so I can help you…
-

Leave a Reply