src/cm/templates/test_inner.html
author raph
Wed, 03 Feb 2010 15:42:56 +0100
changeset 142 9b3438382e53
parent 0 40c8f766c9b8
permissions -rw-r--r--
add base64 parameter passing mode

<form  id="test" class="wizard-form" action="." method="post">
{{ form }}

<input id="sub" name="continue" type="button" value="finish  →"/>

<script type="text/javascript">
    $(function() {
        $("#sub").click(function () {
        	var str = $("#test").serialize();
        	$.post("{% url test_inner %}", str,
        			  function(data, textStatus){
        		$(".ui-tabs-panel").not('.ui-tabs-hide').html(data);
        			  }, "html");
        });
    });
    </script>
</form>