Thursday 27 June 2013

Clear dropdown value using jquery in MVC3

JQUERY :
$('#closesubfolder').live("click", function (event) {
        $('select').val('0');
    });

In View :
<img src="location" alt="Close" height="25px" width="20px"
                        id="closesubfolder" />

No comments:

Post a Comment