| author | Yves-Marie Haussonne <ymh.work+github@gmail.com> |
| Fri, 09 May 2014 18:35:26 +0200 | |
| changeset 656 | a84519031134 |
| parent 0 | 40c8f766c9b8 |
| permissions | -rw-r--r-- |
| 0 | 1 |
<form id="test" class="wizard-form" action="." method="post"> |
2 |
{{ form }} |
|
3 |
||
4 |
<input id="sub" name="continue" type="button" value="finish →"/> |
|
5 |
||
6 |
<script type="text/javascript"> |
|
7 |
$(function() { |
|
8 |
$("#sub").click(function () { |
|
9 |
var str = $("#test").serialize(); |
|
10 |
$.post("{% url test_inner %}", str, |
|
11 |
function(data, textStatus){ |
|
12 |
$(".ui-tabs-panel").not('.ui-tabs-hide').html(data); |
|
13 |
}, "html"); |
|
14 |
}); |
|
15 |
}); |
|
16 |
</script> |
|
17 |
</form> |