我有一个html页面和数据库vb脚本连接到它,当我点击搜索按钮时,脚本将重定向页面的主URL。
<%
If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
Course=Request.Form("Courses")
location=Request.Form("location")
Course=lcase(replace(Course, " ", "-"))
location=lcase(replace(location, " ", "-"))
Response.Redirect "http://www.example.com/+location+"/"+Course+"-institute.html"
end if
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script id="url" type="text/javascript" src="js/respond.js"></script>
</head>
<body>
<div>
<select name="Courses" id="Course" class="course sele-txt"></select>
<select name="location" id="location" class="location sele-txt"></select>
<input type="submit" id="search-btn" class="search-btn" value="Search" name="btnSubmit" >
</div>
</body>
</html>
我想将respond.js的路径更改为src =&#34; http://www.example.com/js/repond.js"在重定向过程中。我一路试过。但我无法得到它。任何人都可以给我一个解决方案