Fixed input buttons clearing out on form submit.
This commit is contained in:
parent
d0c02393bf
commit
a77acc5c04
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ $(document).ready(function()
|
|||
{
|
||||
if (typeof(data.message) != 'undefined')
|
||||
{
|
||||
$('input', form).val('');
|
||||
$('select', form).val('');
|
||||
$('textarea', form).val('');
|
||||
$('input[type=text]', form).val('');
|
||||
$('select', form).val('');
|
||||
$('textarea', form).val('');
|
||||
|
||||
alert(data.message);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue