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>
Submitted by: Muhammad$(document).ready(function(){
$('.loader img').click(function() {
$('.loader img').hide();
$('.loader img').hide();
});
});
Submitted by: Muhammad
$('.loader img').click(function() {
$('.loader img').hide();
$('.loader img').hide();
});
});
Submitted by: Muhammad
Read Online Front End Programmer Job Interview Questions And Answers
Top Front End Programmer Questions
☺ | What is variable scope? |
☺ | Tell me why do we recommend external CSS or Javascript versus inline? |
☺ | Explain what is the lazy loading? |
☺ | What is the difference between JSON and JSONP? |
☺ | HTML / HTML5 Based Front End Developer Interview Questions: |
Top Graphical User Interface (GUI) Categories
☺ | User Interface Expert Interview Questions. |
☺ | Front End Programmer Interview Questions. |
☺ | Lead Web Designer Interview Questions. |
☺ | Senior Graphics Designer Interview Questions. |
☺ | Web Designer Freelance Interview Questions. |