1
0
-1

We have a composer form with logo available.

We added  a custom style (cursorStyle. cursor:pointer; ) to log and need to attach jquery click event to the image and  redirection link. I tried with below, but only style works but not the JQuery.

function bindClickOnLogo() {  $('div.cursorStyle :img').click(function() {    alert("Hello");  }); }

$(document).ready(function() {  bindClickOnLogo(); });

Error message says img not available.

    CommentAdd your comment...