|
|
Feedback on: irt.org FAQ Knowledge Base Q23
irt.org | About | Feedback | 1415 [ previous next ] Feedback on: Sent by Worth: Length: Technical: Comments: raj. In this example there are two forms within the same document called formName1 and formName2. Within formName1 there is a drop down select list called selectName1 and within formName2 there are two text box fields called textboxName1 and textboxName2 There are various events we could utilise to pass the value or text from the selected option to the text box, e.g. onClick, onChange, onFocus, onBlur and onClick. In this example I shall use the onChange event to trigger the setForm2Value() function which will change the value of the two text boxes to the value and text of the selected option: <SCRIPT LANGUAGE="JavaScript"></SCRIPT> <FORM NAME="formName1"> <P> <FORM NAME="formName2"> Other feedback on 'irt.org FAQ Knowledge Base Q23' - show all
|
-- div -->
|