<button class="btn btn-primary" id="chaxun">查询</button>
改成
<div class="btn btn-primary" id="chaxun">查询</div>
$('#chaxun').click(function (){
var options=$("#xiala option:selected");
var zhonglei=options.val(); //种类
var title=document.getElementById("title").value; //书名
var a="http://localhost:80/search1?zhonglei=";
var b=a+zhonglei;
var c=b+"&title=";
var d=c+title;
window.location.href=d
})