Hi, i use jquery and this function:
var news = setInterval(function()
{
$('#news).load(news2.php?id='+ Math.random());
}, 5000);
But this function re-enter div.
I want to add a div, that old data remains.
Hi, i use jquery and this function:
var news = setInterval(function()
{
$('#news).load(news2.php?id='+ Math.random());
}, 5000);
But this function re-enter div.
I want to add a div, that old data remains.
Marrko,
When in doubt, consult the API.
Try this - http://docs.jquery.com/Manipulation/append#content
Airshow
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.