call function of another page
<frame src="page1.html" name="name1" frameborder="0"></frame>
<frame src="page2.html" name="name2" frameborder="0"></frame>
as both are separate frame both have there own copy function
I call fun2() from page2.html and inside that function I want to call page1.html's fun1().
fun1() in page1.html and fun1() in page2.html both return different result because of there global variables.
Is there any way to call fun1()-page1.html from the fun2()-page2.html?