Friday, 17 July 2015

How to clear all values in dropdown

var ddl = document.getElementById("ddlKey");

ddl.options.length=0;

No comments:

Post a Comment

Featured post

Getting Started With SOLR

Getting Started with Solr ·           Features o    Hit highlighting o    Auto correction o    Faceted Search o    Multi lan...