js小工具
1、 var phone = $("#phone").val();
var arg = phone.split('-'); //根据-分割phone
sub = phone.substring(4,5) //同java 取第四个字段
2、竖线分割把下拉框值和标石都显示,以便在下个界面调用
$("#openClub").append(
"<option value='" + BRANCH_ID + '|' + openClub
+ "'>" + openClub + "</option>")
var bank = Club.split("|");
openClub = bank[0];// 开户行社对应id
openClubName = bank[1];