In the Above link When i use with “click” it is working and when i use it with “bind” it is not working .What might be the problem .How can i make it work with bind too
http://jsfiddle.net/bDSW9/ In the Above link When i use with click it is working and
Share
jQuery bind takes a function pointer as the second parameter. You should use
because in your example you call the function checkParams and use the return value
to bind to the on click event.