标签:func admin click hang javascrip label span cat style
1 <td> 2 <div class="checkbox"> 3 <label> 4 <input type="checkbox" id="id_{$vo.id}" value="{$vo.status}" {if condition="$vo.status eq ‘1‘"}checked{/if} />锁定 5 </label> 6 </div> 7 </td> 8 <script type="text/javascript"> 9 $("#id_{$vo.id}").click(function(){ 10 var status = $(‘#id_{$vo.id}‘).val(); 11 $.get("{:url(‘admin/category/status_change‘)}", {id:"{$vo.id}",status:status}); 12 }); 13 </script>
标签:func admin click hang javascrip label span cat style
原文地址:http://www.cnblogs.com/shione/p/7103860.html