[javascript] var pattern = /^\/noticia/; jQuery(‘a’).each(function () { var href = jQuery(this).attr(‘href’); if (href != undefined && href.match(pattern)) { console.log(href); } }) [/javascript]
Name (required)
Mail (will not be published) (required)
Website
Δ