MCQs>IT & Programming>JQuery>What is true code? $('', { src: 'images/little.bear.png', alt: 'Little Bear', title:'I woof in your general direction', click: function(){ alert($(this).attr('title')); } }) - jQuery | Quizack
JQuery MCQs
What is true of the following code? $('', { src: 'images/little.bear.png', alt: 'Little Bear', title:'I woof in your general direction', click: function(){ alert($(this).attr('title')); } })
Answer
Correct Answer: It will alert the value of title attribute of the image being clicked
Explanation:
Note: This Question is unanswered, help us to find answer for this one