dcsimg
Invoking a javascript function in another frame
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   neal_ravindran
Posted On:   Friday, August 8, 2003 09:42 AM

Have two frames. Have a few buttons on the top frame. Have an onclick function defined in the bottom frame using javascript(say the function is called submitForEdit())


How can I reference that function from the first/top frame(frames[0). All these following invocations threw a null error :-frames[1].submitForEdit(),window.frames[1].submitForEdit(), window.main.submitForEdit()..where "main" is the name of the frame which has the js function defined...

Re: Invoking a javascript function in another frame

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, August 8, 2003 09:57 AM

Need "parent" in there somewhere?

About | Sitemap | Contact