Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2006, 05:55 AM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default Javascript function remote frame

Hi,

I need to activate a javascript function that is located in the frameset page from a page inside a frame



Is this possible

__________________________________________________ ________
This is my junk I'm gona eat it
 
Old January 5th, 2006, 02:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

If you can reference the frame that the function is in from the calling frame then you can call the function :

parent.leftFrame.myJSFunction()

Calls the function "myJSFunction" that exists in a frame called "leftFrame" which is a sibling of the current frame.
 
Old January 6th, 2006, 12:22 PM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It worked thnx


__________________________________________________ ________
This is my junk I'm gona eat it





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute Javascript of a non local frame? sunshineyos Javascript How-To 1 September 13th, 2007 06:42 PM
How to call javascript function from VB function vinod_yadav1919 VB How-To 0 February 13th, 2006 06:03 AM
function calling from another frame kanoorani Javascript How-To 1 August 27th, 2005 03:51 AM
Dropping javascript menu accross the frame tanusree_ghosh CSS Cascading Style Sheets 1 January 4th, 2005 05:27 PM
javascript access elements of frame with dynamic . PassionForJavaJ2EE Javascript How-To 1 December 7th, 2004 11:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.