submit 一个form以后怎么得到返回值
6个回答
展开全部
提交一个form会跳转到新的页面,也就没什么返回值的说法了,如果要在本页面获取返回值并应用的话,用ajax请求
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
submit Method
Submits the form.
Syntax
FORM.submit()
Return Value
No return value.
Remarks
The submit method does not invoke the onsubmit event handler. Call the onsubmit event handler directly. When using Microsoft® Internet Explorer 5.5 and later, you can call the fireEvent method with a value of onsubmit in the sEvent parameter.
Submits the form.
Syntax
FORM.submit()
Return Value
No return value.
Remarks
The submit method does not invoke the onsubmit event handler. Call the onsubmit event handler directly. When using Microsoft® Internet Explorer 5.5 and later, you can call the fireEvent method with a value of onsubmit in the sEvent parameter.
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
submit Method
Submits the form.
Syntax
FORM.submit()
Return Value
No return value.
Remarks
The submit method does not invoke the onsubmit event handler. Call the onsubmit event handler directly. When using Microsoft® Internet Explorer 5.5 and later, you can call the fireEvent method with a value of onsubmit in the sEvent parameter
Submits the form.
Syntax
FORM.submit()
Return Value
No return value.
Remarks
The submit method does not invoke the onsubmit event handler. Call the onsubmit event handler directly. When using Microsoft® Internet Explorer 5.5 and later, you can call the fireEvent method with a value of onsubmit in the sEvent parameter
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
提交方式如果为get ,值在地址栏中就可以看到.
post 值在请求体中.
post 值在请求体中.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
java的话用request.getParameter()获取,()里是form表单里设置的id值
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询