Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery default value

Just use the defaultValue property:

var default_value = $(this).prop("defaultValue");
Or:

var default_value = this.defaultValue;
 
PREVIOUS NEXT
Tagged: #jquery #default
ADD COMMENT
Topic
Name
3+7 =