Fixed input buttons clearing out on form submit.

This commit is contained in:
Josh Sherman 2010-03-19 18:22:14 -04:00
parent d0c02393bf
commit a77acc5c04

View file

@ -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);