Can i make an entire table row an ajax link?

2007-01-17 Thread quincy
I'm listing records in a table, and each has a link view which uses ajax to display the full record detail below the list, and alter the css so the row in the list table is highlighted. In a nutshell, i want to be able to click anywhere on a row in the table and have it become selected that

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread Chris Hartjes
On 1/17/07, quincy [EMAIL PROTECTED] wrote: I'm listing records in a table, and each has a link view which uses ajax to display the full record detail below the list, and alter the css so the row in the list table is highlighted. In a nutshell, i want to be able to click anywhere on a row in

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread djiize
in w3c specs, a tr cannot be in a div, tables cannot contain div unless in td did you try to put your action on the tr ? Chris Hartjes a écrit : On 1/17/07, quincy [EMAIL PROTECTED] wrote: I'm listing records in a table, and each has a link view which uses ajax to display the full record

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread Chris Hartjes
On 1/17/07, djiize [EMAIL PROTECTED] wrote: in w3c specs, a tr cannot be in a div, tables cannot contain div unless in td did you try to put your action on the tr ? Well, there are plenty of ways to get around that... * you could put divs around the data in each td, all with a common class

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread quincy
Thankyou for replies so far, but i am still fairly confused. I'm not sure i understand how to make an entire tr or any other HTML element click-able. Using $ajax-link() function just spits out an HTML link, so how is it possible to make an entire HTML element into something that can be

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread Chris Hartjes
On 1/17/07, quincy [EMAIL PROTECTED] wrote: Thankyou for replies so far, but i am still fairly confused. I'm not sure i understand how to make an entire tr or any other HTML element click-able. Using $ajax-link() function just spits out an HTML link, so how is it possible to make an entire

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread Samuel DeVore
one issue is that the prototype/scripta stuff works really poorly with html table elements On 1/17/07, Chris Hartjes [EMAIL PROTECTED] wrote: On 1/17/07, quincy [EMAIL PROTECTED] wrote: Thankyou for replies so far, but i am still fairly confused. I'm not sure i understand how to make an

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread [EMAIL PROTECTED]
I believe this is an IE issue (somewhere on the MS site it catagorically stated TR, TD, etc cannot be modified in the DOM - you have to use some proprietry method). If I find the link gain, I'll post it later. You might want to test in FF to prove me wrong. In the meantime, this might help: