I could do this for you, but I dont have the time to mess around with it at
present. In essence, you need to do something like this.
a.) set up a function to be called in the page in the second frame.
<script lanuage=Javascript>
function addit( str ){
list2.add(str)
}
</script>
b.) from your calling page inside frame1, call the function in frame2
passing it the value you need to add using something like, this ( its not
accurate because I dont do that much JScript at all, but it will be
something like.
parentwindow.parent.document.frame2.document.all( addit('hello');
Now I know the comand above is not correct, but of you do a little digging
around you will find the right syntax. In essence you need to come up to the
parent document and down the iframe into its document and call the funtion
on the remote page.
HTH
--
Terry Burns
http://TrainingOn.net
"David Hearn" <da*********@stagparkway.com> wrote in message
news:eO**************@TK2MSFTNGP15.phx.gbl...
I am using frames in a site that I am building (I know! But not my choice).
I have the need to be able to get the value from a DropDown List that is in
one frame and read it from another frame. I know there is a way to do this
using client side code, but I'm not sure how. I've never been a javascript
expert. Any code examples or links to such code would be greatly
appreciated!
Thanks in advance!