I'm new to javascript and can't change my code to what I wanted.
<iframe name="hidden_iframe" id="hidden_iframe"
style="display:none;" onload="if(submitted)
{window.location='http://site.html';}"></iframe>
My intention is use this window.location (redirecting to other page) to start an action in the same page. If it was a link, my code would be:
<a onClick="OpenSel(1)"></a>
How can I use OpenSel(1) after the onload event?
Thanks!!