1.先载入listtable.js

2.html代码

  a.  <a href="javascript:listTable.sort('goods_number'); "></a> 或者<a href="javascript:listTable.sort('order_sn', 'DESC'); "></a>

  b.  <a onclick="listTable.remove({$warehouse.id}, '您确认要删除这条记录吗')"></a>

  c. <span onclick="listTable.edit(this, 'edit_attr_name', {$attr.attr_id})"></span>

  d. <input onclick='listTable.selectAll(this, "back_id")' type="checkbox"/>

  e. <img src="images/{if $goods.is_on_sale}yes{else}no{/if}.gif" onclick="listTable.toggle(this, 'toggle_on_sale', {$goods.goods_id})" />

  f. <a href="javascript:listTable.gotoPageNext()"></a>

  g. <select >

相关文章:

  • 2021-06-25
  • 2021-08-25
  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2021-06-30
猜你喜欢
  • 2021-05-23
  • 2021-08-15
  • 2022-12-23
  • 2021-11-02
  • 2021-05-21
  • 2022-01-28
  • 2022-02-16
相关资源
相似解决方案