|
<input type="button" value="删除" onclick="window.open('http://localhost/CodeIgniter/index.php/index/delete/'+ $row->id,'a2')">
问题是带参后无法跳转.难道是我写错了?我测试过,$row->id是可以获取到值.这点不存在问题.
<input type="button" value="删除" onclick="window.open('http://localhost/CodeIgniter/index.php/index/delete/'+ 4,'a2')">
这样可以在跳转后页面显示出值4.
不知道怎么在这样的情况下,带参跳转... 有用的、研究过的朋友吗? |
|