网页开发中不同按钮调用不同函数的1种方法.docVIP

  • 3
  • 0
  • 约小于1千字
  • 约 2页
  • 2017-08-20 发布于四川
  • 举报

网页开发中不同按钮调用不同函数的1种方法.doc

网页开发中不同按钮调用不同函数的一种方法 主题词:asp、函数、按钮 代码如下: form method=POST name:input type=text name=name value=请输入姓名 input id=btn type=submit name=submit11 value=查询 onclick= function check() input id=btn type=submit name=submit11 value=待定 onclick= function check() /form % name=Request.Form(name) button_select_value= Request.Form(submit11) Response.Write name br Response.Write button_select_value br if button_select_value=待定 then demo() else if button_select_value=查询 then check() end if end if % % function demo () 待定功能 response.write scriptalert( 调用function demo()!);/Script end function % % functi

文档评论(0)

1亿VIP精品文档

相关文档