Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Web Developer Interviews:BootstrapFront End Web DeveloperHTML DeveloperHybrid Application DeveloperInternee PHP DeveloperJnr PHP/Codeigniter DeveloperJunior Developer PHPLaravel PHP DeveloperPython DeveloperRuby DeveloperTypographyWeb Developer & DesignerWeb Developer Cum SEO AnalystWeb Development NinjasWebsite DeveloperWordPress Themes Developer
Copyright © 2018. All Rights Reserved
Web Development Ninjas Interview Question:
Tell me how do you hide an image on a button click using jQuery?
Submitted by: MuhammadThis jQuery interview question is based on event handling. jQuery provides good support for handling events like button click. You can use following code to hide an image, found using Id or class. What you need to know is the hide() method and how to setup an even handler for button, to handle clicks, you can use following jQuery code to do that :
$('#ButtonToClick').click(function(){
$('#ImageToHide').hide();
});
I like this jQuery question, because it's like a practical task and also code is not difficult to write.
Submitted by: Muhammad
$('#ButtonToClick').click(function(){
$('#ImageToHide').hide();
});
I like this jQuery question, because it's like a practical task and also code is not difficult to write.
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.