xajax 的registerFunction

hotswin 2009-04-18 06:16:53
請教一下,我的頁面有多組 button共用一個regFunction
請問要如何知道是click那一組button呢?

<button onclick='<?php $reqQQ->printScript(); ?>'>Test1</button>
<button onclick='<?php $reqQQ->printScript(); ?>'>Test2</button>
....
<button onclick='<?php $reqQQ->printScript(); ?>'>Test99</button>


$xajax = new xajax();
$reqQQ=& $xajax->registerFunction('helloWorld');
...全文
81 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
mrshelly 2009-04-18
  • 打赏
  • 举报
回复
传参.....
hotswin 2009-04-18
  • 打赏
  • 举报
回复
怎麼傳呀

52,797

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Ajax
社区管理员
  • Ajax
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧