SyntaxFix
Write A Post
Hire A Developer
Questions
$('.input').on('focus', function(){ $(this).val(''); }); $('[type="submit"]').on('click', function(){ $('.input').val(''); });