viewpage_customer_0.html 479 B

1234567891011121314151617
  1. <script>
  2. var loadbo = [];
  3. //这个是点击选择卡事件回调
  4. js.ontabsclicks=function(ind,tid,o,ho){
  5. //>=1说明从第2个选择卡读数据
  6. if(ind>=1 && !loadbo[ind]){
  7. var custid = o.attr('custid');//客户的id,也可以直接用mid
  8. ho.html('<img src="images/mloading.gif">'); //设置转圈
  9. //ajax读取内容
  10. js.ajax(geturlact('getothernr'),{'custid':custid,'ind':ind},function(ret){
  11. ho.html(ret);
  12. });
  13. }
  14. loadbo[ind] = true;
  15. }
  16. </script>