Hi!
> I'm after some assistance (syntax I guess) on how one selects the 
> current row of a table.
>
> The context of this query is that I have a table of data in which the 
> last column of each row contains a checkbox which the user checks if 
> the data case is to be deleted.
>
> When checked, I want the row to be highlighted/fade as a visual check 
> for the user that they have checked (for deletion) the row of data 
> they intended.
> My code thus far is:
>
> $('[EMAIL PROTECTED]').click(function() {
> $(select-the-current-tr).highlightFade({color:'yellow',speed:2000,iterator:'sinusoidal'});});
>  
>    
>
> What should go in the "select-the-current_tr" section?
this).parent('tr'

this will apply the highlightFade method on the input's tr parent.

Cheers,
Adam

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to