articles are uploaded in the background, and the front end needs to find the .pdf suffix in html to perform some js operations on the tags. I hope the god can help write a rule to help find all the .pdf files
articles are uploaded in the background, and the front end needs to find the .pdf suffix in html to perform some js operations on the tags. I hope the god can help write a rule to help find all the .pdf files
I don't understand whether you want to find the an element with the pdf file, or do you want the full address of pdf? Whichever it is, regularization is not recommended.
$("a:contains(.pdf)")
//