我希望我的搜索欄完成搜索,但是,我希望目標是「整頁」而不是完全移動到另一個頁面?在整個頁面中搜索目標
<div id="search_anything">
<form action="/search.php" method="get" id='searchForm'>
<div class="searchFormDiv">
<input type="text" name="search" value="Search Mail..." id="search" onfocus="if($(this).attr('value').indexOf('...') >= 0) $(this).attr('value',''); $(this).select();" />
</div>
</form>
</div>
你的意思是你想要在同一個頁面上搜索並顯示結果,而不是重定向到另一個頁面來顯示結果? – 2011-03-31 21:11:09