is this possible?

Results 1 to 3 of 3

Thread: is this possible?

  1. #1
    Join Date
    Dec 1969

    Default is this possible?

    OK,<BR><BR>I have 3 drop down list boxes. first one is enabled and other 2 are dissabled.<BR>I want to enable the 2nd list box only if an item from the 1st list box is selected. i am assuming i can do this using "on Change" method. so once the 2nd list box enable i want to enable the 3rd listbox only if an item selected from the 2nd list box.<BR><BR>is this possible? how?

  2. #2
    Join Date
    Dec 1969

    Default RE: is this possible?

    Try This...<BR>On window_onload<BR>&#039;&#039;&#039;disable the two combo boxes by<BR>document.formname.combobox1.disabled=true<BR >document.formname.combobox2.disabled=true<BR><BR> On the onchange event of the first drop down <BR>&#039;&#039;&#039;this enables the control<BR>document.formname.controlname.disabled= false<BR><BR><BR>Hope this helps..<BR><BR>GI

  3. #3
    Join Date
    Dec 1969

    Default That only works in MSIE...

    Only MSIE supports the "disabled" property for form fields.<BR><BR>If you want to be "universal", you&#039;ll have to use the "onFocus" event handler to disallow the user to even "touch" the 2nd or 3rd list until you are ready.<BR><BR>Incidentally, this is *NOT* an ASP question.<BR><BR>

Posting Permissions

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