Javascript 使用location()传递参数或变量
我试图在JavaScript中使用location()重新加载页面,并希望传递一个变量值。下面的步骤对我不起作用。让我知道正确的程序Javascript 使用location()传递参数或变量,javascript,Javascript,我试图在JavaScript中使用location()重新加载页面,并希望传递一个变量值。下面的步骤对我不起作用。让我知道正确的程序 location='success.jsp'+<%=ID%>; location='success.jsp'+; 您需要执行以下操作: window.location='success.jsp?VARIABLE_NAME='+<%=ID%>; window.location='success.jsp?变量名称='+; locati
location='success.jsp'+<%=ID%>;
location='success.jsp'+;
您需要执行以下操作:
window.location='success.jsp?VARIABLE_NAME='+<%=ID%>;
window.location='success.jsp?变量名称='+;
location='success.jsp?'+代码>也许?