You can use a few id way you wrote:
$('#upload_link, #upload_link2, #upload_link3')
However, this does not mean that these identifiers exist in the DOM when executing code. It also does not mean that upload is a legit function. This also does not mean that upload was built in such a way that allows you to use multiple elements in the selected fragment.
upload is a custom jQuery plugin, so you will need to show what happens with upload so that we can help you.
zzzzBov Aug 16 2018-11-18T00: 00Z
source share