I need to find (and hide) all image links (.jpg, .png, .gif) in href since they cause wordpress fragments to break off.
Many thanks.
$('a').filter(function() { return $(this).attr('href').match(/\.(jpg|png|gif)/i); }).hide();
Ok thought: P
$("a[href$='.jpg']").addClass('hide');
Source: https://habr.com/ru/post/1724383/More articles:How to print a complete template argument at compile time in C ++ - c ++Internetworking - performanceHow to test with easymock capture - javaRuntime execution failed. Error while calling native code from managed code - c ++How to use KnownType to include polymorphic return values in a WCF service contract? - .netControlling tab focus in javascript widget context - javascriptviewing translations in django templates (for example, creating his work) - djangoDynamically change the document type of an aspx page - c #Синтаксис Lambda в linq для db4o? - c#Is there a poster for Qt documentation? - qtAll Articles