javascript use <option> from <select> as control, help!

Discussion in 'Javascript' started by frey, Jan 20, 2006.

  1. frey

    frey Guest

    i tried to create a dropdown menu and use the option as a control to
    change content inside another text area

    the code is like this:

    <select name="xxxx"><option onclick="changeunitprice(29.87)"
    value="1744"/>

    the function changeunitprice() is called when an option is selected

    problem is it works well with firefox but not IE

    any ideas? or is there anyway can make same effect in IE?

    thanks
     
    frey, Jan 20, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. J. Hall
    Replies:
    2
    Views:
    1,093
    Jeff Thies
    Apr 21, 2004
  2. palmiere
    Replies:
    1
    Views:
    434
    Erwin Moller
    Feb 9, 2004
  3. WebRaster
    Replies:
    1
    Views:
    280
    Francisco Spaeth
    Oct 26, 2005
  4. Nick Spacek

    Removing select option removes entire select

    Nick Spacek, Jun 21, 2006, in forum: Javascript
    Replies:
    1
    Views:
    156
    Matt Kruse
    Jun 21, 2006
  5. rvelosoo
    Replies:
    1
    Views:
    368
    Bart Van der Donck
    Aug 13, 2008
Loading...

Share This Page