在使用jquery 框架中的ajax时,如果要将参数传递到action 中,那么有以下两种,方式: 第一种方法: function test(){ var id = $("#id").val(); //通过表单元素id取值。
確定! 回上一頁