6
Contributors
8
Replies
42
Views
3 Years
Discussion Span
Last Post by designershiv
0

refresh will only work with timer. If you dont use timer. page will be updated only once at the time of loading

0

in that function they used "mytimer()". so diplaying present time, but i need to add my content in that div, i added my own content inside div by removing mytimer(), but not refresing that div so how can and where should i write Utrivedi??

Edited by goutham.tandra: added

1

What is it that you want to do, exactly? If you need to "refresh" the content of a div, doesn't that mean you need to check if new data is available?

Or do you just want to load new, already known data into a div after a specific amount of time?

0

Hi,
When you want to refresh the div content ?
If you want to make a refresh(change content of the div) when the user click a button, just attach your function at onclick event of that button.(onclick = "your_function()").

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.