I have a page called test.cfm which has a body onload function like so. basically the function redirects back to the same page. This works but the function sems to get called continiously. I though that the page only gets loaded once hence the funtion is called only once. But this does not seem to be the case. Can anyone please help? Thanks
function locate() {
window.location.href='test.cfm?appid=12&refresh=yes';
}
<body onLoad="return preRelocate();"></body>
function locate() {
window.location.href='test.cfm?appid=12&refresh=yes';
}
<body onLoad="return preRelocate();"></body>