You better use "jQuery" instead of "$" This is because the jQuery Library included with Wordpress is set to the noConflict() mode, to prevent compatibility problems with other Javascript libraries that wordpress linked.
So the global $ shortcut for jquery is not available.
See more: Wordpress Codex Script
No comments:
Post a Comment