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. remove items from checkedlistbox using javascript

remove items from checkedlistbox using javascript

Scheduled Pinned Locked Moved ASP.NET
javascripttutorial
3 Posts 3 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.
  • V Offline
    V Offline
    vineesh v
    wrote on last edited by
    #1

    Any one know how to remove items from checkedlistbox using javascript...

    H D 2 Replies Last reply
    0
    • V vineesh v

      Any one know how to remove items from checkedlistbox using javascript...

      H Offline
      H Offline
      Hiren solanki
      wrote on last edited by
      #2

      Just a simple search can get you answer. see HERE[^]

      Regards, Hiren. -"I don't know, I don't care, and it doesn't make any difference".

      1 Reply Last reply
      0
      • V vineesh v

        Any one know how to remove items from checkedlistbox using javascript...

        D Offline
        D Offline
        Dalek Dave
        wrote on last edited by
        #3

        function removeAllOptions(obj)
        {
        if(obj!= null)
        { for(var i=0; i < obj.options.length; i++)
        { obj.remove(i);
        }
        }
        }

        That should do it.

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

        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