Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我的剧本是这样分层的......
PHP 回显按钮。
Jquery UI 按钮函数应用于调用该函数的对象。
有没有办法让按钮在插入按钮时执行 MyAddButtonFunction(this) 。(注意有多个按钮)
你的意思是
echo '<input type="button" id="button1" />'; echo '<script>MyAddButtonFunction($("#button1"))</script>'
或者这是ajaxed?