Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Drop Dwown list item disabling using javascript

Drop Dwown list item disabling using javascript

Scheduled Pinned Locked Moved ASP.NET
javascriptquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jinoju
    wrote on last edited by
    #1

    Hello, I have a drop down list with some items. I need to disable some items (not selectable) from this list. How can i implement this. Please reply..

    R K S 3 Replies Last reply
    0
    • J Jinoju

      Hello, I have a drop down list with some items. I need to disable some items (not selectable) from this list. How can i implement this. Please reply..

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      I would have thought it better not to show them in the first place: you should never show a user options that thay have no access to: what would be the point? For example, knowing the user you could tailor the list items to suit rather than faffing around trying to hide unwanted items.

      Tychotics "The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!" Larry Niven

      1 Reply Last reply
      0
      • J Jinoju

        Hello, I have a drop down list with some items. I need to disable some items (not selectable) from this list. How can i implement this. Please reply..

        K Offline
        K Offline
        koolprasad2003
        wrote on last edited by
        #3

        we can not disabled the few items of listbox better not to fill them.... :)

        Rating always..... WELCOME Be a good listener...Because Opprtunity knoughts softly...N-Joy

        1 Reply Last reply
        0
        • J Jinoju

          Hello, I have a drop down list with some items. I need to disable some items (not selectable) from this list. How can i implement this. Please reply..

          S Offline
          S Offline
          saanj
          wrote on last edited by
          #4

          Try this thread: http://forums.asp.net/t/1512023.aspx[^]

          There is no foolish question, there is no final answer...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups