Search
 
SCRIPT & CODE EXAMPLE
 

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>
Comment

PREVIOUS NEXT
Code Example
Javascript :: cos in javascript 
Javascript :: js html input limit to 5 words 
Javascript :: how to make bootstrap navbar to change on scroll 
Javascript :: moment format heure 
Javascript :: react bootsrap color picker 
Javascript :: fetch data with axios in reactjs 
Javascript :: npm get package.json version 
Javascript :: dynamically add/remove rows in html table using javascript 
Javascript :: js replace diacritics 
Javascript :: buffer nodejs 
Javascript :: javascript round .5 down 
Javascript :: DC League of Super-Pets 
Javascript :: delete an element to an array 
Javascript :: es6 array to object keys 
Javascript :: merge objects javascript es6 
Javascript :: get height webview from url video react native 
Javascript :: convert string to integer in javascript 
Javascript :: redux state proxy 
Javascript :: useEffect in nextjs 
Javascript :: password regex javascript long way 
Javascript :: jquery find input and select 
Javascript :: react-router-dom routes 
Javascript :: how to use mongoose-encryption 
Javascript :: js group objects in array 
Javascript :: running a function in a function javascript 
Javascript :: rethrow error javascript 
Javascript :: setProps jest 
Javascript :: iterate loop over mapping in solidity 
Javascript :: Making promises 
Javascript :: Check the render method of `App` 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =