Question:
How to select PDF documents for jQuery?
To select PDF documents use the following selector:
$("a[href*=.pdf]")
For example the following will highlight PDF links with a yellow background:
$("a[href*=.pdf]").css("background", "yellow")
Taxonomy: