jquery add remove class clicked element
$(function() {
$('img').click(function() {
$(this).toggleClass('active');
});
});
Also in JavaScript:
- javascript object entries
- javascript regex email
- remover clase jquery
- javascript reverse string without reverse method
- palindrome
- console log larger
- javascript round decimal 2 digits
- how to make a css clock
- keydown event in javascript
- js copy part of array
- push item to array js
- hwo to cehck req header in js
- javascript check if text is overflowing
- how to modify an array
- array
- switch javascript
- toggle one class add and one class remove same time and after click remove class add and add class remove jquery
- objectid is not defined node js mongodb
- reactstrap search bar
- sequelize create record with foreign key constraint
- delete cookies by domain javascript
- js combine two arrays
- queryselector by class javascript
- js esperar um tempo