Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q1468 How do I get the value of a selection in a drop down list in one frame to fill in a text box in another frame?

irt.org | Knowledge Base | JavaScript | Form | Q1468 [ previous next ]

Q1468 How do I get the value of a selection in a drop down list in one frame to fill in a text box in another frame?

Try:

<form>
<select onChange="top.otherframe.document.otherform.textfield.value=this.options[this.selectedIndex].value;">
<option>...
</select>
</form>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.