How To Fix WordPress Missing “Add New” Button in Plugins and Menu Choice “Dashboard > Updates”

Author: , April 17th, 2017

If you are missing either your “Dashboard > Updates” menu choice, or the “Add New” button or menu choice in the Plugins section, do this to correct it: Edit the wp-config.php file, and change two lines to be false instead of true: For example, here are the two lines fixed: 1 2 define(’DISALLOW_FILE_EDIT’, false); define(’DISALLOW_FILE_MODS’,false); […]

How To Fix jQuery submit() Problems

Author: , May 2nd, 2012

If you have a named submit button in your form, submit() will fail. The solution is to change 1 <input type="submit" name="submit" value="hello" /> <input type=”submit” name=”submit” value=”hello” /> to 1 <input type="submit" value="hello" /> <input type=”submit” value=”hello” /> Here is a link to the bug report on jquery: http://dev.jquery.com/ticket/4652

How To Find Which Button Was Clicked To Submit A Form Using jQuery

Author: , July 2nd, 2011

1 2 3 4 5 6 7 8 9 10 var WhichButton;   jQuery(’button’).live(’click’, function() {      WhichButton = this.id; });   jQuery(’form’).live( ‘submit’, function() {      alert( ‘Button ID: ‘ + WhichButton );      return false; }); var WhichButton; jQuery(‘button’).live(‘click’, function() { WhichButton = this.id; }); jQuery(‘form’).live( ‘submit’, function() { alert( […]

How To Disable A Button In A jQuery UI Dialog

Author: , May 17th, 2011

Important Note: This solution REQUIRES jQuery UI 1.8 or better and the .button() plugin/widget (contained in the full download): 1 jQuery(".ui-dialog-buttonpane button:contains(‘Save’)").button("disable"); jQuery(“.ui-dialog-buttonpane button:contains(‘Save’)”).button(“disable”); Original Post: http://stackoverflow.com/questions/3646408/how-can-i-disable-a-button-on-a-jquery-ui-dialog

How To Enable Live Hover With jQuery UI Icons

Author: , May 8th, 2011

The HTML: 1 2 3 4 <ul class="icons ui-widget ui-helper-clearfix">      <li id="AddItem" class="ui-state-default ui-corner-all" title="Add Item"><span class="ui-icon ui-icon-plusthick"></span></li>      <li id="AddToFavorites" class="ui-state-default ui-corner-all" title="Add to Favorites"><span class="ui-icon ui-icon-heart"></span></li> </ul> <ul class=”icons ui-widget ui-helper-clearfix”> <li id=”AddItem” class=”ui-state-default ui-corner-all” title=”Add Item”><span class=”ui-icon ui-icon-plusthick”></span></li> <li id=”AddToFavorites” class=”ui-state-default ui-corner-all” title=”Add to Favorites”><span class=”ui-icon ui-icon-heart”></span></li> </ul> The […]