| changeset 0 | 40c8f766c9b8 |
| -1:000000000000 | 0:40c8f766c9b8 |
|---|---|
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> |