|
-
call function of another page
<frameset rows="30%,70%>
<frame src="page1.html" name="name1" frameborder="0"></frame>
<frame src="page2.html" name="name2" frameborder="0"></frame>
</frameset>
in above code I used page1.html & page2.html as frame. Both include same javascript file having two function name fun1() & fun2().
as both are separate frame both have there own copy function
page1.html
fun1()
fun2()
page2.html
fun1()
fun2()
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?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks