我想隐藏一个没有'没有js文件中的id.我想不通,请告诉我
I want to hide a text box that doesn't have id from js file. I am not able to figure out, Kindly let me know
标题中有一个文本框,位于我想要隐藏的光滑网格中的复选框上方。这个文本框没有id,所以我不知道如何在没有id的情况下隐藏。
这是HTML部分
<div id="figuresGrid">
<div id="figuresByClassGrid" class="clearBg dispNone" style="width: 820px; height: 600px;"></div>
</div>
这是Javascript部分
var figGridColumns = [
{ id: "A", name: resources.Number, field: "Number", sortable: true, width: 165 },
{ id: "B", name: "BOM", field: "BOM", width: 115 },
{ id: "C", name: resources.Class, field: "Class", width: 125 },
{
id: "updated",
name: "Updated",
field: "UpdatedDisplay",
width: 165,
formatter: function (row, cell, value) {
return "<span>" + value + "</span>";
}
},
{ id: "user", name: resources.User, field: "User", width: 165 }
];
var gridOptions = { enableCheckBox: true, cssClass: "checkBoxStyle", showHeaderRow: true, enableCellNavigation: true, headerRowHeight: 30, filter: filter };
viewByClassGrid = new gg.sacs.SlickGridWrapper("#figuresByClassGrid", figGridColumns, "FigureId", "Number", gridOptions, figFilters);
我想隐藏的文本框显示在标题行的数字字段之前。
find是该文本框的任意类。
或
将类添加到该文本框中,然后您就可以随心所欲了。
相关文章:
- PHP文件没有't从Javascript应用程序获取$_POST
- 较大的文件没有被上传,并使用uploadify反映
- 如何用javascript发送多个文件没有jQuery我想要每个文件一个进度条
- 我的使用flotr的饼图html文件没有完全工作
- 当文件没有'不存在
- Maven多模块中的JS文件没有任何原因变得错误
- 为什么外部JavaScript文件没有响应AngularJS
- Magento - 这个javascript文件没有正确合并
- 我的XML文件没有被Google Chrome和Internet Explorer使用
- slim文件没有执行里面的js
- JS文件没有'刷新后无法在局部视图中工作
- 为什么我的rails资产管道中的js文件没有被编译
- 本地json文件没有在react js中使用ajax加载
- 如果静态文件没有't匹配
- 使用一个文件元素上传多个文件(没有多个选项).并一次选择一个文件
- 我的gull.js文件没有在浏览器上更新我的css
- 如果图像文件没有'不存在,显示另一个
- 为什么我的XML文件没有在Websphere虚拟服务器中加载?
- JavaScript换行从文件没有't显示在< >
- Javascript文件没有任何php代码