Pages

Thursday, January 12, 2012

How to remove the contents in a select Box using JQuery

//getting the select box element
        var selectBox=$('#'+id);       
        selectBox.find('option').remove().end();

No comments: