My question is regarding a WordPress site. Using JavaScript or jQuery (I don’t know the difference..), on the entire front-end of the website, I would like to add the attribute accept="image/*"
to all of the <input type="file">
. Could someone please help me achieve this?