|
Posted by J.O. Aho on 04/07/07 09:34
Martin Nadoll wrote:
> hello,
>
> i have a table with about 20 rows coming from a mysql database.
> in the database i have text with details for every row.
> i dont want to show all these details, only my other information.
>
> so, what i want to do is to make a textlink into every row "show details".
> this details should appear in the next <tr> after the row i cklicked and all
> following information should go down.
> in the details-row i want to have a textlink "hide details" so that
> everything looks like before.
You may use a hidden div that you turn to a visible with a link, here is an
example that uses form buttons to show/hide, but you can use onClick on a
anchor instead.
http://www.rgagnon.com/jsdetails/js-0086.html
--
//Aho
Navigation:
[Reply to this message]
|