jquery, get url segment - ajax

Posted by mike on Stack Overflow See other posts from Stack Overflow or by mike
Published on 2010-04-02T16:02:59Z Indexed on 2010/04/02 16:13 UTC
Read the original article Hit count: 309

Filed under:
|
|

Hello!

Say I have a list of items from a database. Next to each item there is a delete link. the links look something like: http://example.com/exp/delete/1 - 1 is the ID of the record I want to delete. How can I grab the ID to pass through AJAX?

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript