Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript 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 Search this Thread Display Modes
  #1 (permalink)  
Old October 27th, 2005, 09:51 AM
Registered User
 
Join Date: Oct 2005
Location: Champaign, IL, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to MaxxaM
Default onChange'JavaScript:window Question

Hello,

I have a drop down box that I want the value selected passed onto a different frame. I can get it to work to the current frame, but I don't know how to send it to a different frame within the same page.

This is what I have that works in the same frame.

<select onChange='JavaScript:window.location="http://cooter/Quota/NAVIGATION.ASP?LinkID=" + this.value' name='QuotaID'>

Thanks for any help you can provide!

Reply With Quote
  #2 (permalink)  
Old October 27th, 2005, 11:18 PM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hii MaxxaM!!
<script>
function sendToFrame(obj)
{
window.parent.SecondFrameName.sencondFrameFun(obj. value)
}
</script>
<select onchange="sendToFrame(this)" name='QuotaID'>

****
In ur second frame define function

<script>
function sencondFrameFun(value1)
{
alert(value1)
}
</script>

Hope this will help you,
Note:-this link can help you http://p2p.wrox.com/topic.asp?TOPIC_ID=35884

Cheers :)

vinod
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Centering Popup window & Blur Parent window jkusmanto Javascript How-To 0 May 25th, 2007 03:19 AM
Window refresh and window pop up in Java Script Aleksandra Javascript How-To 2 March 2nd, 2007 06:47 PM
Another window.event.srcelement question Ron Howerton Visual Basic 2005 Basics 0 January 16th, 2007 05:09 PM
closed parent window when opened child window jaiwin Javascript How-To 0 October 8th, 2006 12:54 PM
XML Spy question - output window extn pgtips XML 0 October 1st, 2004 07:06 AM



All times are GMT -4. The time now is 10:37 AM.


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