Thursday, 27 June 2013

Clear Text box value throw Jquery in MVC3

Jquery:
$('#closesubfolder').live("click", function (event)
 {
         $('input[type=text]').val('');
});

View;
<img src="Source" alt="Close" height="25px" width="20px"
                        id="closesubfolder" />

No comments:

Post a Comment