[jQuery] Re: add href to table row from link inside row

2009-04-19 Thread kevind
never mind - added line : window.location=href; to complete process thanks again On Apr 19, 4:35 pm, kevind wrote: > hi, > > your example code didn't work - is there some step i'm missing ? > > here's an example of one of the rows in my table > > >   >     USB Backupsetup USB > backup >   >

[jQuery] Re: add href to table row from link inside row

2009-04-19 Thread kevind
hi, your example code didn't work - is there some step i'm missing ? here's an example of one of the rows in my table USB Backupsetup USB backup 09-Sep-08 0809007

[jQuery] Re: add href to table row from link inside row

2009-04-19 Thread kevind
thanks - will try this - i meant grabbing the A link href and creating an on-click event for the row - didn't look back at another page where i built the onclick for the row by a different method this will definitely save me time :) On Apr 19, 3:45 pm, mkmanning wrote: > Just to clarify, your r

[jQuery] Re: add href to table row from link inside row

2009-04-19 Thread mkmanning
Just to clarify, your row can't have an href as that's not a valid attribute, but you can put a click handler on the row and have it access the contained anchor to get the href. This might get you started: $('tr.row').click(function(){ var href = $(this).find('a').attr('href'); }) Be aware th