div refresh without click of the button
Posted
by fusion
on Stack Overflow
See other posts from Stack Overflow
or by fusion
Published on 2010-04-13T12:08:07Z
Indexed on
2010/04/13
12:12 UTC
Read the original article
Hit count: 263
how do i make the div refresh, say after 10 secs and execute the run_query() function without clicking on the button?
<script src="scripts/ajax.js" type="text/javascript"></script>
<div id="quote"><strong>Quote of the Day</strong></div>
<div><a style="cursor:pointer" onclick="run_query()">Next quote …</a></div>
© Stack Overflow or respective owner