4 Replies Latest reply on Aug 12, 2010 1:30 PM by garyhatt

    Presence problem when using a drop-down menu

    garyhatt

      I am trying to show/hide a table when a choice is made from a drop-down menu. It doesn't work until I make the same choice twice, then I get the expected result. The script is under Change and I have used it before successfully, albeit it has typically been using a check box. Is there an easy fix hopefully for this problem? Code below:

       

      if

       

       

      (this.rawValue == 2)

      {

      form1.Page1.OrderSection.OrderItems.Blower.presence

      = "visible";

      }

      else

      {

      form1.Page1.OrderSection.OrderItems.Blower.presence

      = "hidden";

      }

       

       

       

      Thanks