87
rated 0 times
[
89]
[
2]
/ answers: 1 / hits: 16193
/ 15 Years ago, thu, july 23, 2009, 12:00:00
Click me
$('.clickme').click(function(event) {
event.preventDefault();
var stringId = $(this).attr(id);
var mId = stringId.substring(2)
....
I can retrieve the value of id using ID of anchor element. I think I should be able to get it directly from href. So how do I retrieve value of id and status from HREF (url query string)?
I am using Jquery.
Thank you for your help.
UPDATE:
Also how do I can get all of the URL value .. i.e. test.php?id=100&blah=blah?
More From » php