Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JQ:Click issue Reply To: JQ:Click issue

#148535
lrelia
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);