1 Reply Latest reply on Jan 9, 2014 10:43 AM by try67

    run Javascript on change

    kseaver

      I have a form that I am trying to hide/unhide an option button set based on if a combo box has a value or is blank. I need it to refresh any time the combo box changes. Is there a way that I can simply code the combobox that any time there is a change to run a document level script named "E&P" (My script to hide and unhide the buttons works, I just can't get it to fire every time the combo box changes. I tried it in a keystrok script but it didn't work because I am not only allowing customer input at times, but I am also setting the value to "" using a Javascript. I think it will work using an on change event to then fire a document level script but I don't know how to do this.  Thanks in advance for any help!