Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: SV: Re: SV: about frameset !


Message #1 by "Robert Nyman" <robert.nyman@c...> on Tue, 26 Nov 2002 13:03:20 +0100
thanks!



You get an error that says "Not this object!"?
What browser are you using?

Is the frame named "rightpage", as in < frame name="rightpage"> ?
What is your funcion called (functionName should, of course, be replaced
by the name of your function)?

If you are in the left frame and want to call a function in the right
frame (named "rightframe"), your code shall look like this:

parent.frames["rightpage"].functionName();   //(Where funtionName is the
name of your function)


/Robert


-----Ursprungligt meddelande-----
Från: ht [mailto:yohomonkey@y...]
Skickat: den 27 november 2002 04:55
Till: javascript
Ämne: [javascript] Re: SV: about frameset !


i use "top.leftpage.document.functionname();".
but the error is "Not this object!".
what wrong??



parent.frames["rightpage"].functionName();



-----Ursprungligt meddelande-----
Från: yohomonkey [mailto:yohomonkey@y...]
Skickat: den 26 november 2002 10:14
Till: javascript
Ämne: [javascript] about frameset !


In my page used the frameset,leftpage and rightpage.
how can i invoking  javascript function of the rightpage from the
leftpage?
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 



---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 







  Return to Index