标签: php events redirect onclick
我有一个表单,我想在更新后重定向。我使用此代码,但它不起作用:
<input type=button onClick="calendar.update(<?php echo $info['id']; ?>); location.href='index.php';" value='Save'>
如何为此添加多个事件(包括重定向脚本)?