Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
のようにしてみてください
$html.find("a[href$='mp3']").filter(function () {
後に「 ] 」が欠落してmp3おり、オプションで変更できます
mp3
return 'test="' + this.getAttribute('href') + '"></a>';
これに
return 'test="' + this.attr('href') + '"></a>';