jQuery .val change doesn’t change input value

Use attr instead.
$('#link').attr('value', 'new value');

demo

Leave a Comment