You can't exactly put stuff in between <TR>'s.  However, there are other
strategies.
One that I have used is this:

<tr><td>Title1</td></tr>
<tr><td>MESSAGE</td></tr>
<tr><td>Title1</td></tr>
<tr><td>MESSAGE</td></tr>

Then I do
$("tr:even").hide();

Then when you run your ajax thing.
$(this).parents("tr").next("tr").show()

Some grids are very very complex.  Any client-side sorting would need to
take this structure into account.
This is a limited solution but might help you.

Glen

On 6/26/07, Massimiliano Marini <[EMAIL PROTECTED]> wrote:


Hi all,

I've lost the post and/or the link, but if I don't remember wrong,
there's a solution to my question (I hope).

I've a table that show a list of title like this:
<table>
<tr><td>Title1</td></tr>
<tr><td>Title2</td></tr>
...
</table>

I want to display (by an ajax request, but this is not the problem) the
messagge under the row that I've clicked on title, well I don't know
how to implement this behavior someone can tell me how I can do it?

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Reply via email to