Home › Forums › JavaScript › JQ:Click issue › Reply To: JQ:Click issue
August 29, 2013 at 3:16 pm
#148535
Participant
@Kuzyo Much Thank.Your solution works well, but I delete it by mistake..T T I write a different solution for the problem.http://codepen.io/lrelia/pen/fJzEq It works well with Chrome and IE 9,but just can’t work well in codepen.HAHA.
The before mistake I made is click() .
Wrong: selector.click(function() {}); //anonymous function is not allowed
Right: var handle = function() {};selector.click(handle);