I'm intercepting user clicks on pagination links and I need to extract only page number from that link which is always set inside page variable.
so inside my js I have ....
var a = $a.attr("href");
.. which ouputs this
/Home/GetTabData?page=2&activeTab=House
so how can I extract only this number from after page=
If it's matter keep in mind that this number can be two or three digit long and activeTab is dynamic value.
Thanks