您好,我想用以下代码邮寄,两个变量我只能发送一个,有什么建议吗?谢谢
<script type="text/javascript">
$(document).ready(function() {
$("#au").change(function() {
$.ajax({
url: "post.php",
type: "POST",
data: "aula=" + $("#au").val(),
success: function(opciones) {
$("#hst").html(opciones);
}
})
});
});
</script>
要发送多个变量,您可以这样做: