jquery select multiple ids code example
Example 1: multiple elements with same id jquery
<div id="x1">A</div>
<div id="x1">B</div>
<div id="x2">C</div>
<script>
console.log($('[id="x1"]'));
</script>
Example 2: how to target two id using jquery
$("#upload_link,#upload_link2,#upload_link3").each(function(){
$(this).upload({
//whateveryouwant
});
});
Example 3: select multiple id in jquery
$("#upload_link,#upload_link2,#upload_link3").upload(function(){ });