146
rated 0 times
[
152]
[
6]
/ answers: 1 / hits: 149763
/ 9 Years ago, fri, may 15, 2015, 12:00:00
I need your help in order to refresh a div id=mytable
in my html once the function is called from a method. Currently, I am loading the full page once it is called using the below lines.
In my java method, I am using the below line to call a javascript method:
RequestContext.getCurrentInstance().execute(autoRefresh());
The html code :
<script type=text/javascript>
function autoRefresh() {
window.location.reload();
}
</script>
<div id='mytable'>
<h1 id='My Table'>
<table></table>
</h1>
</div>
More From » jquery