document object

Results 1 to 2 of 2

Thread: document object

  1. #1
    Join Date
    Dec 1969

    Default document object

    i&#039;m trying to dynamically change a dropdown with the onchange event. I can do it fine when the code for the dropdown is on the form page. In the OnChange event of the dropdown i use this code:<BR> onChange=document.form1.submit();<BR>but i want to move the code to a designated script page. What is the correct syntax to make the onchange event work properly even if its not on the form.

  2. #2
    Join Date
    Dec 1969

    Default Fully Qulaified references

    onchange="windowreference.document.form1.submit()" <BR><BR>where &#039;windowreference&#039; is a valid window pointer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts