Re-enable Disabled Select Boxes

You can run the following javascript code in the url bar on a page to enable you to change pull-down boxes which are disabled.

javascript: var oInputs = new Array();oInputs = document.getElementsByTagName( ‘select’ );for ( i = 0; i < oInputs.length; i++ ){ if ( oInputs[i].disabled == true ) { oInputs[i].disabled =false; }}alert(‘done’);

When the code finishes you will then be able to change any select boxes on the page which had been disabled.  When the code finishes to run a done alert will pop-up.

This entry was posted in Hacks. Bookmark the permalink.

Leave a Reply