jquery on wheel event
$("#main-div" ).on( 'wheel', function() {
alert("Hello! I am an alert box!!");
});Syntax
Trigger the scroll event for the selected elements:
$(selector).scroll()
Attach a function to the scroll event:
$(selector).scroll(function)
Also in JavaScript:
- how to create simple node project
- tsconfig.json not generated
- react.js
- mysql compare work days
- javascript count time
- code a space scene in js
- javascript url check
- chartjs line color
- copy a file and paste with fs
- empty path redirection on home page in angular routing
- vue js tutorial
- jquery remove class
- jquery enable disable textbox
- js array join
- slick js
- get width of a dom element js
- como percorrer um objeto js
- javascript array push object
- angular how to use service in class
- three js examples
- convert arrow function to normal function javascript online
- how to disable time option in select jquery
- corresponding text to key code js
- javascript update value when slider moves javascript