I have this code.
jQuery(document).ready(function () {
if (navigator.appName == "Microsoft Internet Explorer") {
$("label img").each(function (i) {
$(this).click(imageClikced);
});
}
});
function imageClikced(img) {
alert(img.type);
}
in alert box I am getting img.type as click. How should I pass the image to the imageClikced function as parameter.
Thanks for any help.
imageClickedfunction,thiswill be a reference to the clicked element.