showing results for - "getelementbyhref"
Nahel
13 Mar 2020
1jQuery.fn.getElementsByHref = function(str){ return $('a[href*="' + str + '"]'); };
2
3$(document).ready(function(){        
4   elems = $(this).getElementsByHref('example.com');
5});
6
similar questions
queries leading to this page
getelementbyhref