[Vuejs]-Jquery append to a tag

4👍

$('<a href="/file/93">') does not select the a element that you have. I think it rather creates a new DOM element that is eventually never attached to the document.

In order to select an element through an attribute value, you could do:
$('[href="/file/93"]')

Leave a comment