I have 2 pages
main.asp
and searchresults.asp
On main.asp I have my code which inc. an iframe
<iframe width="350" height="265" name="searchResults" src="searchResults.asp">
On searchresults.asp i want to call one of the functions on main.asp in the body onload event
<body onload="........functiontobecalled()">
But I don't know how to reference the main.asp page. Can someone help
Thanks in advance