<a href="Javascript:void(0)" onclick="Delete(@id)">删除</a>

<script>
function Delete(id) {
if (confirm('确定是否删除?') == true) {
$.post('Delete', { id: id }, function (rs) { if (rs == "1") location.reload() });
}
}
</script>

相关文章:

  • 2022-12-23
  • 2021-07-01
  • 2021-11-12
  • 2021-09-03
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-01-21
  • 2021-12-11
  • 2021-09-02
相关资源
相似解决方案