summaryrefslogtreecommitdiffstats
path: root/webroot/js/jquery.form.js
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-03 04:32:10 -0700
committerraylu <raylu@mixpanel.com>2011-07-03 04:32:10 -0700
commit6d182e241055bffa3bf04adcc1aef5db530fe4cd (patch)
tree3660b922f4188a57ed6e91dc6cdf6c927f2037cc /webroot/js/jquery.form.js
parentb9aa2a0396aa5f7db439bc362952f7710c7c24e9 (diff)
downloadotakuhub-6d182e241055bffa3bf04adcc1aef5db530fe4cd.tar.xz
run fromdos on all the php, css, and js files
Diffstat (limited to 'webroot/js/jquery.form.js')
-rw-r--r--webroot/js/jquery.form.js72
1 files changed, 36 insertions, 36 deletions
diff --git a/webroot/js/jquery.form.js b/webroot/js/jquery.form.js
index e9d5df5..d0e118e 100644
--- a/webroot/js/jquery.form.js
+++ b/webroot/js/jquery.form.js
@@ -1,37 +1,37 @@
-jQuery(document).ready(function(){
-
- $('#contactform').submit(function(){
-
- var action = $(this).attr('action');
-
- $("#message").slideUp(750,function() {
- $('#message').hide();
-
- $('#submit')
- .after('<img src="./img/form/ajax-loader.gif" class="loader" />')
- .attr('disabled','disabled');
-
- $.post(action, {
- name: $('#name').val(),
- email: $('#email').val(),
- subject: $('#subject').val(),
- comments: $('#comments').val(),
- verify: $('#verify').val()
- },
- function(data){
- document.getElementById('message').innerHTML = data;
- $('#message').slideDown('slow');
- $('#contactform img.loader').fadeOut('slow',function(){$(this).remove()});
- $('#contactform #submit').attr('disabled','');
- if(data.match('success') != null) $('#contactform').slideUp('slow');
-
- }
- );
-
- });
-
- return false;
-
- });
-
+jQuery(document).ready(function(){
+
+ $('#contactform').submit(function(){
+
+ var action = $(this).attr('action');
+
+ $("#message").slideUp(750,function() {
+ $('#message').hide();
+
+ $('#submit')
+ .after('<img src="./img/form/ajax-loader.gif" class="loader" />')
+ .attr('disabled','disabled');
+
+ $.post(action, {
+ name: $('#name').val(),
+ email: $('#email').val(),
+ subject: $('#subject').val(),
+ comments: $('#comments').val(),
+ verify: $('#verify').val()
+ },
+ function(data){
+ document.getElementById('message').innerHTML = data;
+ $('#message').slideDown('slow');
+ $('#contactform img.loader').fadeOut('slow',function(){$(this).remove()});
+ $('#contactform #submit').attr('disabled','');
+ if(data.match('success') != null) $('#contactform').slideUp('slow');
+
+ }
+ );
+
+ });
+
+ return false;
+
+ });
+
}); \ No newline at end of file