Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing OBJECT in one child frame from another. 1

Status
Not open for further replies.

Jay1Roy

Programmer
Jul 10, 2001
95
IE
Hi,

I want to access a TEXT filed in one form (in other frame) from another form (in another frame within same frame set). A BUTTON in the second form will set a value in the TEXT field of the first form. Please help.

Thanks,

Jayanta.
user.gif

mail me : jayantaroy@email.com
 
hi
function setIt(){
top.frames.framename.document.forms.formname.textfieldname.value="whateverIwant"
}

..
<input type=&quot;button&quot; value=&quot;set value&quot; onclick=&quot;setIt()&quot;>
..

ps: you look good :)) keep it coding :) Victor
 
Thanks Victor,

That was a perfect solution (u got my vote for that). I got one more small query for you... I am getting some values from a database thru JSP and according to the data retrieved, I want to check some radio buttons on the page. Please suggest.

Thanks in advance...

Jayanta. :)
user.gif
 
excuse me, suggest what?

how to check a radio button?
faq216-342 but with &quot;radio&quot; as type of the input tag..

the refer - from my previous post..

am i on the right way or you wanted something else? Victor
 
I think, the FAQ dosent answer my query. I am trying to set the status of the radio buttons depending on the data retrieved from the database... I am trying somethings out at my end.

Jayanta.
user.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top