Option List box

Results 1 to 2 of 2

Thread: Option List box

  1. #1
    Join Date
    Dec 1969

    Default Option List box

    is there anyway i can store an item selected from a drop-down list box in a variable as i am selecting it? so its like by using onChange() method.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Simple Answer

    Anything is possible<BR><BR>its only software... that being said<BR><BR>What are you talking about.<BR><BR>setting the selected value of the list to a var<BR><BR>onchange=setVar(document.form.selectlis t.options[this.selectedIndex].value)<BR><BR>function setVar(myvar)<BR>{<BR> mynewvar = myvar;<BR>}<BR><BR>like this? or what?<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