Rev 4 |
Go to most recent revision |
View as "text/plain" |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
/*#######################################################################
# This script is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# Author: Andrzej KardaĆ
# License: GPLv3
# The full version of the licencse can be obtainted by visiting:
# http://www.gnu.org/licenses/gpl.html
#######################################################################*/
$(document).ready(function(){
var options = {
target: '#email_form',
success: function() {
$('#email_form > #form-indicator').hide();
$('#email_form > form').ajaxForm(options);
},
replaceTarget:true,
beforeSubmit: function() {
$('#email_form > #form-indicator').show();
}
};
$('#email_form > form').ajaxForm(options);
});