Scroll to top

How to get default value from input field in jquery?

Get default value from input field in jquery

$(“#name”).on(“change paste keyup”, function() {

 var default_value = this.defaultValue;

});

Leave a Reply

Your email address will not be published.