支付宝赞助帐号:service@kuitao8.com 

js利用分隔符分隔字符串

Created2013-09-17   Views 1427    Author 懒人程序
   //+++++++++++add +++++++++++++//
         if(data.flag==0){
           object = data.object;
           object_arr = object.split(">>");   //分割
           //first = object_arr[0];
           //second= object_arr[1];
           //third = object_arr[2];
           //row.cells[3].innerHTML='<{$lang_object_arr[0]}>';
         }else if(data.flag==1){
            row.cells[3].innerHTML=data.object; 
         }
        //+++++++++++add +++++++++++++//
上一篇: js屏蔽错误提示
下一篇: js动态控制表单的tr,td的显示和隐藏
支持键盘 ← →

邮件订阅

订阅我们的精彩内容