var urlstr = "www.baidu.com?a=1&b=xx&c"; var s = urlstr.split("?"); var argstr=""; console.log(s); if(s.length>1){ argstr = s[1]; } var parttern = /([a-z]+)(=)?([a-z0-9]*)/gi; var matches = parttern.exec(argstr); v
jsp部分 json字符串的属性应该都是实体类的属性 function saveCashier(){ layer.closeAll(); var Reapply = document.getElementById('isReapply'); if(actcardflag>0&&Reapply.checked){ isReapply=1; } var memo = $('#memo').val(); var customerName = $('#customerName'