- 浏览: 4613 次
- 性别:
- 来自: 北京
最新评论
文章列表
<input id="" name="" type="text"
onfocus=" this.style.imeMode='disabled' "
/>
<td>
<select id="monitorTypeNew" onChange="changeServer(this.options[this.selectedIndex].value);">
<option value="snmp">snmp</option>
<option value="oracle">oracle</option>
</select>
</td>
funct ...
enter键触发事件
- 博客分类:
- enter检索
jQuery(function($) {
$("html").live("keydown",function(e){
if(e.keyCode == 13){
doSearch();
}
});
});
jquery自动匹配
- 博客分类:
- autoComplete
引入<link rel="stylesheet" type="text/css" href="${ctx}/css/jquery.autocomplete.css" />
<script type="text/javascript" src="${ctx}/js/jquery.autocomplete.js"></script>
<td align="left">
<div class=&qu ...
function addRow(obj) {
var a = obj.parentNode.parentNode.id;
var signFrame = findObj("mainTable", document);
var r = jQuery(".tbody").children().length;
var newTR = signFrame.insertRow(signFrame.rows.length);
var cols = $("#mainTable tr:first-child")[0 ...
function tdclick(obj) {
var txt = $(obj.outerHTML).text();
if (txt != null && txt != "") {
if (obj.childNodes.length > 0) {
obj.childNodes[0].data = '';
} else {
obj.textContent = "";
}
}
//td表格里加input将值赋予inp ...
<c:forEach items="${resMap}" var="resMap">
<c:choose>
<c:when test="${fn:contains(resMap.key,'flg')}">
<tr>
<td height="22" align="left" bgcolor="#c4e0e6"
style="font-weigh ...