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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

iframe input values 2

Status
Not open for further replies.

peacecodotnet

Programmer
May 17, 2004
123
0
0
US
Is there a way I can get the value of a text input box that is inside of an IFrame?

Peace out,
Peace Co.
 
Code:
document.frames['[i]myframe[/i]'].document.[i]formname[/i].elements['[i]fieldname[/i]'].value


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 

Check out this thread:

access the innerhtml of a div inside a frame (thread216-1019825)

and this thread:

write to an iframe (thread216-1021687)

for cross-browser syntax.

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Both of these responses helped me beyond expectations. Thank you so much.

Peace out,
Peace Co.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top