hello i only want to reshresh a part of a page <?php include 'index.php'; ?>
is this possible ?
Thank you
hello i only want to reshresh a part of a page <?php include 'index.php'; ?>
is this possible ?
Thank you
hello i only want to reshresh a part of a page <?php include 'index.php'; ?>
There are no "PHP includes" in javascript.
You just want to refresh php file by using jQuery then try this:
$(function(){
setInterval(function(){
$("#myDiv").load("index.php");},1000);
});
This is the html:
<div id="myDiv" class="myDiv"></div>
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.