为了账号安全,请及时绑定邮箱和手机立即绑定

表单中action中调用函数?

表单中action中调用函数?

动漫人物 2019-02-06 11:07:15
表单中action中调用函数?
查看完整描述

2 回答

?
弑天下

TA贡献1818条经验 获得超8个赞

javascript:onSubmit = returnChoice()
写成这样试试

API:

Syntax

HTML <ELEMENT ACTION = sURL... >
Scripting [ sURL = ] object.action

Possible Values

sURL String that specifies or receives the URL to use. If a relative path is specified, the base URL of the document is assumed.

The property is read/write. The property has no default value.

DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are not supported in IE8 mode. For more information, see About Dynamic Properties

查看完整回答
反对 回复 2019-03-19
?
aluckdog

TA贡献1847条经验 获得超7个赞

javascript:onSubmit = returnChoice()
写成这样试试

API:

Syntax

HTML <ELEMENT ACTION = sURL... >
Scripting [ sURL = ] object.action

Possible Values

sURL String that specifies or receives the URL to use. If a relative path is specified, the base URL of the document is assumed.

The property is read/write. The property has no default value.

DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are not supported in IE8 mode. For more information, see About Dynamic Properties



查看完整回答
反对 回复 2019-03-19
  • 2 回答
  • 0 关注
  • 1630 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信