js查找元素、js查找字符串
let index=data.indexOf(",");
js截取、js截取字符串
$("#bankurl_id").val(data.substring(0,index)); $("#bankname").val(data.substring(index+1));
原文地址:https://www.cnblogs.com/qq376324789/p/10571373.html
时间: 2024-11-09 02:20:11
js查找元素、js查找字符串
let index=data.indexOf(",");
js截取、js截取字符串
$("#bankurl_id").val(data.substring(0,index)); $("#bankname").val(data.substring(index+1));
原文地址:https://www.cnblogs.com/qq376324789/p/10571373.html