java script jquery interview question bind and unbind jquery function

518 views · Published 9 October 2013 · 3:02 · Indexed 14 November 2026

Channel: Interview DOT · 2013 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. java script jquery interview question bind and unbind jquery function

Explain "bind()" and "unbind()" in jQuery ? 

$("#myElement").bind ('click', function() {
alert($(this).text());
});
Add a click event listener to the element with an ID of myElement.

$("#myElement").unbind('click');

Remove the click event from myElement or Tell the browser to no longer listen for events from the current element.

One Click Dream Job http://www.interviewdot.com/upload-resume/uploadresume.htm

Free Interview Books Download http://www.interviewdot.com/main-page-left-links-pages/getmycareer-download-resumes.htm


Other Top Job Portals
www.naukri.com
www.monsterindia.com
www.timesjobs.com
www.freshersworld.com

More from this channel