Please help, I need to select the "10" on this link using jquery where it says id=10
and also the "do" where it says type=do
<a class="myClass" href="/local/web/do.php?type=d0&id=10">link</a>
I tried jQuery(this).attr('href');
but that returns all the link address,
I need to set each as a variable.
I want something like var id = "the selector that selects only the id value" var type = "the selector that selects only the type value"
Thanks