SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2009
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MVC 3 Jquery DropDownList

    Is it possible to attached JQuery to a DropDownList in MVC3 ? I know how to use it with Select , but HTML.DropDownList is different. Such as $("#ddl_stuff").val for Select...doesnt work for the Razor Control.

    thanks

  2. #2
    SitePoint Member
    Join Date
    Jun 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    maybe you have forgotten to add: id="ddl_stuff" to your <select>


Bookmarks

Posting Permissions

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