Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

onchange on multiple ids jquery

 $('body').on('click', '#element1, #element2, #element3', function () {
 console.log('Hello Developers');
 })
 
 //HTML
 
<button id="element1">Element1</button>
<button id="element2">Element2</button>
<button id="element3">Element3</button>
 
PREVIOUS NEXT
Tagged: #onchange #multiple #ids #jquery
ADD COMMENT
Topic
Name
5+8 =