2
I have a grid and in the last column I will have a link that will be following format:
id.1
id.2
id.3
id.4
I would like to click on the link
<a id="id."'.$row["id"].' href="#">
Jquery identify the id so I can call a feature. How can I catch the event from clicking the link?
Picking from the button is quiet
$('#postar').click(function() {
How could you catch the link click only by a piece of "id"
$('#id').click(function() {
Ricardo, my id=1 or id=2 or id=3 how would I get only the number after the ID?
– William
Ricardo, I got this: var id = $(this). attr('id');
– William