Thursday 15 August 2013

jquery - On click button is not calling function -


Warnings are not being called for some reasons, can anyone help me in debugging?

  $ (document) .ready (function () {// filter hidden // $ ("# filter_bar"). Hide (); $ ('# filter_bar'). Do (ShowFilterBar);}); Function ShowFilterBar () {Alert ('found here'); If ($ ("# filter_bar") is (": hidden")) {$ ("# filter_bar"). Show (); } And {$ ("# filter_bar"). Hide (); }}   

You forgot to include JQuery :)

For me Working (Chrome):

Whatever I did, it was included in JQuery.

EDIT: updated to point to the latest 1. X xquery version safely according to x maxizo suggestion

No comments:

Post a Comment