| 1 |
(function($) { |
| 2 |
$(document).ready( function() { |
| 3 |
$( '#pdfprnt_settings_form input' ).bind( "change click select", function() { |
| 4 |
if ( $( this ).attr( 'type' ) != 'submit' ) { |
| 5 |
$( '.updated.fade' ).css( 'display', 'none' ); |
| 6 |
$( '#pdfprnt_settings_notice' ).css( 'display', 'block' ); |
| 7 |
}; |
| 8 |
}); |
| 9 |
$( '#pdfprnt_settings_form select' ).bind( "change", function() { |
| 10 |
$( '.updated.fade' ).css( 'display', 'none' ); |
| 11 |
$( '#pdfprnt_settings_notice' ).css( 'display', 'block' ); |
| 12 |
}); |
| 13 |
}); |
| 14 |
})(jQuery); |