src/cm/templates/test_inner.html
author gibus
Mon, 10 Mar 2014 13:04:40 +0100
changeset 599 6c2ef083d89f
parent 0 40c8f766c9b8
permissions -rw-r--r--
Config ASCIIMathML with translateOnLoad = false to get it works with YUI Loader.

<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>