js控制表单数据的提交

使用:

documen.formname.action = "xxx.php";

document.form.submit();

其中formname为form表单的名字,也可以用forms[i](表示页面中第i个表单,从0开始算起)替换formname。



你可能感兴趣的:(js,YII)