📜  在 js 之后删除 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:52.260000             🧑  作者: Mango

代码示例1
var s = '/Controller/Action?id=11112&value=4444';
s = s.substring(0, s.indexOf('?'));
document.write(s);