English 中文(简体)
ide 过滤 j
原标题:Hide a table row with filtering jquery
问题回答

I have done it in my project something like this:

function toggleRow(row_id) {
    row_selector = "#row_" + row_id;
    $(row_selector).toggleClass("shown hidden")
}

之后,在社会保障局:

.hidden {display:none;}
.shown {}

然后,在“超文本”中,我改变了桌旁,奇迹是哪怕是一行内容的标题。 粉碎单行,使相应的夜行可见。

...
<tr onclick="toggleRow(17)">...</tr>
<tr class="hidden" id="row_17">...</tr>
...

每次打上“id=”row_2010”<>等身份证,然后看上去,一遍隐藏整个行。

<>>>>>

我强烈建议不要使用这么多的表格,并使用更多的类别来分类贵国的数据结构。 这将有助于你的手册更加清晰、简明和更加便于运作。

<>>>>>

我调整了你所有的支离破碎块和你的一些html。 http://jsfiddle.net





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签