我正在编写一个快速脚本,将警报和重定向消息应用到页面上的所有锚和按钮。到目前为止,我已经为所有的锚做了如下工作:.addEventListener('click', function (event) {event.preventDefault(); window.open('http://www.test.com
php echo button_access(1,'is_update') ?>>// the function needs to access the session by codeigniter, so I can't use jquery
function我想把编辑功能应用到所有id为“button_acc