I use $(this).attr("href");to select the href attribute value for the clicked element, but I only need to select the part after the last '=' character.
Example:
href = "index.php CON = 123 &? ID = 123 & Sel = heyhey"
I only need the last part of href, which is "heyhey"
How can I choose this?
source
share