> My row column contains lot of details apart from name like
> images span id's apart from just text as in your scenario. in
> precise it contains lot of details apart from simple text but
> I need to pick up only that text from column by which rows
> are to be hidden.
> This is example to giv
I know you said you didn't want to use any plugins, but Rik Lomas' great
quicksearch plugin
http://rikrikrik.com/jquery/quicksearch/
does just what you want right out of the box.
He even has a demo on his site for large tables:
http://rikrikrik.com/quicksearch/large_table.html
If you don't want
I really appreciate your help. Thanks a lot. It seems that you are pro in
javascript. But my scenario in selecting col values from table is quite
different from yours, I think you can help me right away.
for( var i = 0, n = trows.length; i < n; ++i ) {
var row = trows[i];
var col =
I really appreciate your help. All of the mistakes which you figured out is
just a typo. I've it working but quite slow thats the reason I thought of
enhancing it.
Michael Geary wrote:
>
>
> It would be helpful to have a complete example of your actual HTML and
> JavaScript code. The code you
I just noticed one tiny bit of dead code in the function I posted:
> var row = rows[i], col = row.col;
Can be:
> var row = rows[i];
Since the col variable is unused.
-Mike
It would be helpful to have a complete example of your actual HTML and
JavaScript code. The code you listed in your message is not working code:
1) The selector $("#example tbody tr td.name") will not select anything,
because your 's have no class attribute.
2) $(this).html().indexOf("val") shou
Yep, a few wee suggestions in no particular order...
1. Instead of .hide() and .show() try adding/removing the name of a
class that makes the element hidden. (Can be faster for the css engine
to do the hiding for you). Also, the toggleClass() method may be
handy.
2. The spaces in your selector e
7 matches
Mail list logo