SyntaxFix
Write A Post
Hire A Developer
Questions
Use .val() not attr('value').
.val()
attr('value')