function shoucang(){ alert( "请使用Ctrl+D手动收藏" ); } function searchKeyword(){ var keyword=$('#keyword').val(); var url='/News/index/cid/62'; if(keyword){ url+="/keyword/"+keyword; } url+='.html'; window.location.herf =url; }

<