[jQuery] How to pass variable from link

[jQuery] How to pass variable from link


Hello list
Let's say I have a list of items (retrieved from a mysql-db with PHP).
To edit the records, one has to click a link (<a href="#" ...>item 1</
a>) which opens a form (achieved with the show/hide jquery).
How can I pass the id of an item back to php.
I guess I have to use the $.get or $.post function, but I am stuck on
this.
All help is highly appreciated!
Thanks.
QT