<分区>
我有这部分代码。我想知道如何将 url 读取为当前页面而不是修复 url
这是编码的一部分:
var str='';
if(model_id != 0 ) str = model_id+"+";
if(year_id != 0 ) str +=year_id+"+";
url='http://store.ijdmtoy.com/SearchResults.asp?Search='+str;
top.location.href=url;
您现在看到它有一个读取 url http://store.ijdmtoy.com/SearchResults.asp 的修复程序
例如,我目前在http://store.ijdmtoy.com/abs.htm
如何更改代码,使其自动读取为 http://store.ijdmtoy.com/abs.htm?searching=Y&Search