javascript jquery fet everything after a character

Subject:

this is a clever way to get everything after.  This will only work perfectly if you know the format of the string will always be the same!

tag<a href="/admin/products/?id=4"></a>

var part = $( this ).find('a').attr('href').split("=").pop();

2018-07-15 14:40:57gstlouis