<body>
<h1>携带参数的AJax</h1>
{% csrf_token %}
<label for="num1"></label>
<input type="text" id="num1">
+
<label for="num2"></label>
<input type="text" id="num2">
=
<label for="result"></label>
<input id="result" type="text">
<button class="cal">计算</button>
</body>
相关文章: