SyntaxFix
Write A Post
Hire A Developer
Questions
The 2nd line should be written as:
$form.append('<input type="button" value="button">');