I have a span element like this:
<span id="test" name="testing" >Test </span>
The text of span i.e Test might change based on other operations in the page.
I want to automatically refresh the span text say after 2 seconds.
How can I achieve this using jquery?
Please help.
You can use the javascript setInterval to create a timer like effect. https://developer.mozilla.org/en/DOM/window.setInterval
Code will be something like: