Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 5th, 2006, 04:55 AM
Friend of Wrox
 
Join Date: Nov 2005
Location: Rotterdam, , Netherlands.
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
Reply With Quote
  #2 (permalink)  
Old January 5th, 2006, 01:22 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
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.
Reply With Quote
  #3 (permalink)  
Old January 6th, 2006, 11:22 AM
Friend of Wrox
 
Join Date: Nov 2005
Location: Rotterdam, , Netherlands.
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It worked thnx


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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 05: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 04:27 PM
javascript access elements of frame with dynamic . PassionForJavaJ2EE Javascript How-To 1 December 7th, 2004 10:09 AM



All times are GMT -4. The time now is 12:08 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.