“Won’t work” doesn’t say much. Use Firebug with Firefox, or in Chrome or Safari or IE8, use the developer tools to check for JS errors on your site.
WP3.2 now includes jQuery 1.6 and your jsfiddle example uses 1.4, so there’s a possible conflict.
Related Posts:
- jQuery $(this) keyword
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- Disable button in jQuery
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- $.ajax – dataType
- How can I get the ID of an element using jQuery?
- How do you select a particular option in a SELECT element in jQuery?
- How to use jQuery qTip?
- Installing jQuery?
- Email validation using jQuery
- Wildcards in jQuery selectors
- jQuery: How can I create a simple overlay?
- XML Parsing Error: not well-formed in FireFox but good in Chrome
- jQuery get value of selected radio button
- How to make Bootstrap carousel slider use mobile left/right swipe
- Clear form fields with jQuery
- How to use radio on change event?
- Adding a page loader using jQuery
- How can I change the text color with jQuery?
- How to get mouse position in jQuery without mouse-events?
- Show div #id on click with jQuery
- How can I change CSS display none or block property using jQuery?
- Can you detect “dragging” in jQuery?
- Is there a way to enable Cross-Origin Resource Sharing for WordPress’ ajaxurl?
- How to get attachment id as soon as it is uploaded through media uploader in jquery?
- Using ‘$’ instead of ‘jQuery’ in WordPress
- AJAX call returns 0
- Automatically decrease font size for long words
- Custom function to rearrange attachments when creating posts – Almost there
- Is it possible to get the logged in username in a jquery script?
- Gravity Forms loading jquery
- Extend 3.5 media uploader plugin to change button name
- Javascript included but alert() function not working
- Adding fields to the media uploader with jquery listeners
- Bind to WPSetAsThumbnail
- How do I activate jQuery/script on demand?
- How to delete post attachments when jQuery is used with a click event on the delete link
- Ajax pagination works only first and third time
- Using multiple versions of jQuery while still calling it like WP likes
- adding google event tracking to links in posts
- how can I make $ work in wordpress for jQuery?
- WordPress Jquery Fade in, Fade out effect
- Override default jquery ui library with newer version
- Can I make simple global tooltips in WordPress?
- WordPress Jquery Confliction with Plugin
- Periodically getting jQuery “…. is not a function” errors [closed]
- Gutenberg Filtering Metaboxes by Post Format
- Unwanted content in website title
- HTML editor accessing quicktag buttons
- Error when posting comment form: The error is TypeError: e[h] is not a function
- How to use datepicker.min.js?
- Using Javascript to detect keypress event in text editor
- videopress videos are not displayed when loading the content with ajax in a lightbox
- Bypass nonce value while trashing a post
- Call a javascript function from another file
- Adding JS to one page
- Set TRUE or FALSE based on a wp_localize_script option value
- Display posts from another site using REST API in an asynchronous manner
- Simplest ajax form not working when it should
- How do I include javascript/jquery image resizing with wordpress?
- Changing WordPress URL breaks some jquery functions
- Extend the twentyten dropdown menu with jQuery with a delay onmouseout
- Loading a newer version of jQuery within WordPress
- WordPress 3.1 makes my drop down menu dissapear, jquery dont work
- Having trouble setting / modifying cookies
- Loading dynamic content with AJAX breaking jQuery
- How to display comments length
- Adding JavaScript file in Admin Panel
- How to change the text of the “You are about to permanently delete these items…” alert message when deleting media from the media library?
- jQuery script doesn’t work on WordPress
- Can’t execute jQuery before my script
- Admin Ajax is returning 0 and not Insert data
- Multiple Media uploader output to input
- Can’t add classes using jQuery from a JSON string with get_body_class()
- Using WP functions inside javascript
- How to add external remote JS source to Gravity Forms?
- Why is ajax working on one server and not the next?
- Connect Agile Carousel to WordPress AJAX
- How to add shortcode to show/hide press releases?
- Calling multiple scripts using wp_enqueue_script
- jQuery forms & updating info
- wordpress file upload from direct directory not working
- How to use script in WordPress installation?
- JavaScript code do not works on online server
- How to get my insert.php url in jquery?
- Enqueue script, taking no effect [closed]
- How to add jQuery script?
- Displaying contents of a tab
- In the Edit Post page how do I modify with jQuery the status select list?
- Variable not being returned from Ajax Javascript (though javascript receives it)
- Append jquery script for each [partners] shortcode with specified values
- How to respond with WP_Ajax_Response();
- Infinite scroll page number [duplicate]
- Thumbnail remove width & height function
- How to install Lavalamp jQuery effect in wordpress [duplicate]
- How to Run a jQuery Script after a Javascript Script has Finished in WordPress
- Why my vertical tab js code is refreshing the page continuously? [closed]
- jQuery cycle thumbnails?
- slider wont load unless you scrolldown on mobile, slick.js carousel
- Can’t Get jQuery AutoComplete to work in WordPress (jQuery Hide/show works)