Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_action('admin_print_scripts-post.php', 'enable_checkbox_script');
- add_action('admin_print_scripts-post-new.php', 'enable_checkbox_script');
- function enable_checkbox_script() {
- <script type="text/javascript" language="javascript">
- jQuery(document).ready(function() {
- jQuery('input[id^=in-couponbook-]').each(function() {
- jQuery('#'+this.id).removeAttr("disabled");
- });
- });
- </script>
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement