Skip to content

Commit bb64bc3

Browse files
committed
Update form plugin to latest version. Enhance the ajaxSubmit demo.
1 parent 026d9c2 commit bb64bc3

File tree

2 files changed

+436
-177
lines changed

2 files changed

+436
-177
lines changed

demo/ajaxSubmit-intergration-demo.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
jQuery(function() {
1616
// show a simple loading indicator
1717
var loader = jQuery('<div id="loader"><img src="images/loading.gif" alt="loading..." /></div>')
18-
.css({position: "relative", top: "1em", left: "25em"})
18+
.css({position: "relative", top: "1em", left: "25em", display: "inline"})
1919
.appendTo("body")
2020
.hide();
2121
jQuery().ajaxStart(function() {
@@ -25,15 +25,15 @@
2525
}).ajaxError(function(a, b, e) {
2626
throw e;
2727
});
28-
28+
2929
var v = jQuery("#form").validate({
3030
submitHandler: function(form) {
3131
jQuery(form).ajaxSubmit({
3232
target: "#result"
3333
});
3434
}
3535
});
36-
36+
3737
jQuery("#reset").click(function() {
3838
v.resetForm();
3939
});
@@ -82,4 +82,4 @@ <h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-vali
8282
urchinTracker();
8383
</script>
8484
</body>
85-
</html>
85+
</html>

0 commit comments

Comments
 (0)