I have an input field with an id that is used as a button. I want to call this "input button" every X second. How to call the onclick
function and/or use its functionality to do this?
<input id="window.all.desktop.id_10.body.TCon1.btn_refresh" class="TDynBtn" type="button"
onclick="window.all.desktop.id_10.body.TCon1.btn_refresh.doClick(this,event)"
onmouseout="window.all.desktop.id_10.body.TCon1.btn_refresh.onMouseOut(this)"
onmouseover="window.all.desktop.id_10.body.TCon1.btn_refresh.onMouseOver(this)"
value="Reload measurements">
My attempt to call it in PHP:
print "
window.setInterval (
function() {
window.all.desktop.id_10.body.TCon1.btn_refresh.doClick(this,event);
},
".$nSeconds."
);
";
No jQuery possible.