DropDownList value from VBScript

Discussion in 'ASP .Net Web Controls' started by carlor, Aug 30, 2005.

  1. carlor

    carlor Guest

    Hi there,

    I'm implementing a CustomValidator and for the client side validation I'm
    using VBScript (which I'm not too familiar with). I have an example of
    getting the value of a text box from within the script (see below) but I
    can't figure out how to do it for a drop down list.

    eg.
    document.getElementById("<%=txtGenericClaim.clientid%>").value

    How do I go about getting the SelectedValue from a dropdownlist using this
    method?


    Thank you very much,

    Carlo.
    carlor, Aug 30, 2005
    #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. keys4worship
    Replies:
    0
    Views:
    845
    keys4worship
    Jun 28, 2005
  2. Phil Di Guillielmo
    Replies:
    6
    Views:
    8,309
    Aaron J. Scott
    Aug 27, 2003
  3. Matt
    Replies:
    2
    Views:
    827
    Anthony Judd
    Sep 25, 2004
  4. Replies:
    7
    Views:
    226
  5. thisis
    Replies:
    0
    Views:
    121
    thisis
    Oct 17, 2006
Loading...

Share This Page