Answers

Question and Answer:

  Home  Front End Developer

⟩ Using jQuery how would you hide the image when the user clicks it for the following code snippet? <div class="content"> <p>Some Content Here</p> <p class="loader"><img src="ajax-loader.gif"></p> </div>

$(document).ready(function(){

$('.loader img').click(function() {

$('.loader img').hide();

$('.loader img').hide();

});

});

 170 views

More Questions for you: