每日总结
1.查询界面实现
部分代码:
<div align="center"><a target='_blank' href="view.jsp">可视化视图</a></div>
<form action="servlet?method=findlunwen" method="post" id="biaodan" >
<div align="center" id="firdiv" >
<table align="center">
<tr>
<td><select name="tiaojian" id="tiaojian">
<option value="题目">题目</option>
<option value="摘要">摘要</option>
<option value="关键词">关键词</option>
<option value="作者">作者</option>
</select></td>
<td><input type="text" id="firinput" name="firinput"></td>
<td><select name="jingzhun" id="jingzhun"><option value="精准">精准查询</option><option value="模糊">模糊查询</option></select>
<td><input type="button" id="firbut" value="+" onclick="add_div()"></td>
</tr>
</table>
</div>
<input type="hidden" name="sum" id="sum" value="1">
<input type="hidden" name="realsum" id="realsum" value="1">
</form>
<form method="post" id="tjdiv">
<div align="center"><input type="button" value="查询" onclick="sendAjax()" class="findbtn"></div>
</form>
<div align="center" id="reslunwendiv" class="subbox">
<table id="restable" >
</table>
</div>
</body>
</html>