Friday, 2 May 2014

Remove data from a dropdown

  <script type="text/javascript">
         $(function () {

             $('#btn').click(function () {
                 $("#ddl option[value='" + $('#ddl').val() + "']").remove();
             });
         })

    </script>

No comments:

Post a Comment