Hello all!
I have a small programming problem (php & javascript). On index.php page I'm printing a news (from mysql db) in a table:
CHECKBOX | NEWStitle | NEWStext | NEWSuser | NEWSdate
checkbox1 | News 1 .. | Shall we.. | User0002 | 28.7.09
Above that table I have small icons (images), representing EDIT, DELETE, ARCHIVE, EMAIL and PDF.
I want to achieve following: When user selects one row - with checkbox - (multiple rows won't be supported) and clicks on a icon, I want that javascript finds out which icon was selected, so I can product a custom url (example:index.php?mod=news&command=edit&id=9).
Is there any chance to do that? If, how??