> 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 give you idea of how my row looks.
> : <table id="srtable">
>           <tbody>
>            <tr>
>        <td><image src="blah">some other textvijay<</td>
>         <td>some other column</td></tr>
>   <tr>
>        <td><image src="blah">some other textvictor<</td>
>         <td>some other column</td></tr>
>           </tbody>
>           </table>  
> 
> So I need to get a innerHtml inside the column with class 
> name "txtVal".

I don't see *any* columns with class="txtVal".

That appears to be sample code typed into the message again. Instead of
typing sample HTML code into a message, copy and paste your *actual* HTML
code. Anynomize any private information, but use your actual code.

> What I feel is we need to change the
>  var col = row.firstChild; to some thing else. I tried this  
> var col = row.txtVal; and then when I tried to access the 
> innerHtml like
> row.col.innerHTML.indexOf(val) it threw me javascript error.

Yeah, that wouldn't work, but I can't really guess what would work unless I
see the actual HTML. Let's start with that and take it from there.

You may also want to check out the plugin Sean mentioned - it sounds
promising.

-Mike

Reply via email to