Support » Plugins and Hacks » Ajax – jQuery – toggle() doesn’t work

  • I have trouble with One Word A Day.

    Here is the sample code which also works (replace example.com by your blog address):

    <script type='text/javascript' src='http://example.com/wp-admin/load-scripts.php?c=1&load=jquery,utils&ver='></script>
    
    <script type="text/javascript">
    
    	jQuery(document).ready(function(){
    		jQuery("input[name=owad_daily_post]").change(function () {
    			jQuery("#owad_post_settings").toggle('slow');
    			});
    		});
    
    </script>
    
    <form method="get">
    <input type="radio" name="owad_daily_post" value="1"/> yes <br />
    <input type="radio" name="owad_daily_post" value="0"/> no
    </form>
    
    <div id="owad_post_settings" style="display:none;">Test</div>

    But toggle doesn’t work in the admin panel. I don’t know how to fix it. Can anyone help me?

  • The topic ‘Ajax – jQuery – toggle() doesn’t work’ is closed to new replies.