I have an HTML page that has a readonly text box input field( say, system name). I have a button on the page , which on click opens up a new page from where the user can select a name which then appears in the text box.
What I want to do is to populate the other text boxes in the page automatically according to the system name selected. I tried implementing this by calling a java script function onChange of the text box for system name. But onChange event occurs only when there a manual change made to the input field and not when the field is populated by selecting a name from a window. How do I do this? All I want to do is to invoke a javascript function onChange of the text box field value, provided the textbox is readonly.
Please shed some light on this?
What I want to do is to populate the other text boxes in the page automatically according to the system name selected. I tried implementing this by calling a java script function onChange of the text box for system name. But onChange event occurs only when there a manual change made to the input field and not when the field is populated by selecting a name from a window. How do I do this? All I want to do is to invoke a javascript function onChange of the text box field value, provided the textbox is readonly.
Please shed some light on this?