Javascript # and . Symbols – CSS selectors
Code 1: $(‘#row DIV’).mouseover(function(){ $(‘#row DIV’).addClass(‘testing’); }); Code 2: $(‘.row div’).mouseover(function(){ $(this).addClass(‘testing’); }); The hash (#) specifies to select elements by their ID’s The dot (.) specifies to select elements by their classname $(‘.row’) will select any element with class=”row” $(‘#row’) will...
Read out all