Title: Not working?
Last modified: August 21, 2016

---

# Not working?

 *  [jmikewp](https://wordpress.org/support/users/jmikewp/)
 * (@jmikewp)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/not-working-302/)
 * Hi,
    I have done exactly as stated in directions – Input custom code and adjust
   divs. I have tried using only jquery effects but none worked. Even the simplest
   jquery code doesn’t work(click to fade div). Also tried getting several code 
   samples from your project site – and they dont work(on default or customized).
   I have read all the previous posts regarding this issue and followed those instruction
   as well. It doesn’t make a whole lot of sense that even basic jquery doesn’t 
   work.. Again, I have done: 1. Install plugin 2. Input custom code 3. Changed 
   div id’s to match with my code
 * Is there any way i can debug this or does someone have working jquery effects
   on front-end ui in wordpress?
 * in custom code input box:
 *     ```
       jQuery(document).ready(function($) {
       $( document ).click(function() {
         $( "#toggle" ).toggle( "fade" );
       });
       	});
       ```
   
 * in header.php:
    `<div id="toggle">Hi!</div>`
 * Again – i have tried several variations with id’s and classes, with added <script
   > or without etc. and nothing seems to work.
 * Thank you for your time and help!
 * [http://wordpress.org/extend/plugins/jquery-ui-widgets/](http://wordpress.org/extend/plugins/jquery-ui-widgets/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [jmikewp](https://wordpress.org/support/users/jmikewp/)
 * (@jmikewp)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/not-working-302/#post-3833270)
 * So,
    This seems to work.
 *     ```
       jQuery(document).ready(function($) {  $( "#opener" ).click(function() {
         $( ".thing" ).toggle( "fade" );
       }); });
       ```
   
 * Maybe the input has to be a button – otherwise it doesnt work.
    `<button id="
   opener">fade</button>`
 * Please confirm or let me know – though effects work with button(otherwise they
   don’t seem to work.)
    Thanks!
 *  Plugin Author [David Gwyer](https://wordpress.org/support/users/dgwyer/)
 * (@dgwyer)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/not-working-302/#post-3833333)
 * Please try the jQuery forums if you are still having issues.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Not working?’ is closed to new replies.

 * ![](https://ps.w.org/jquery-ui-widgets/assets/icon.svg?rev=1430096)
 * [jQuery UI Widgets](https://wordpress.org/plugins/jquery-ui-widgets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-ui-widgets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-ui-widgets/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-ui-widgets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-ui-widgets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-ui-widgets/reviews/)

## Tags

 * [BS](https://wordpress.org/support/topic-tag/bs/)

 * 2 replies
 * 2 participants
 * Last reply from: [David Gwyer](https://wordpress.org/support/users/dgwyer/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/not-working-302/#post-3833333)
 * Status: not resolved