2 Replies Latest reply on May 24, 2010 4:56 AM by webacity

    calling javascript function within spry validation objects

    webacity

      Hi

       

      I have a spry select object

       

      When the user selects the 'red' option I want it to trigger a behaviour. I know this behaviour works as I tested it on a span object.

      I just want it to work within spry form objects

       

      code:

       

      <select name="select1" id="select1">
              <option>choose...</option>
              <option onmousedown="MM_showHideLayers('pop1','','show','pop2','','hide')" onmouseup="MM_effectHighlight('pop1 content', 1000, '#FFFFFF', '#EAEAEA', '#FFFFFF', false)" >red</option>
              <option>blue</option>
              <option>green</option>
            </select>

       

      Thanks

       

      Jon