Changes between Initial Version and Version 1 of Ticket #20855, comment 11
- Timestamp:
- 09/17/2012 08:52:02 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20855, comment 11
initial v1 1 1 .prop() needs to be used (jQuery 1.6+), rather than .attr(). Something like this would work: 2 2 {{{ 3 $( '#upload-form #submit').prop('disabled', '' === $('#upload').val() );3 $('#upload-form #submit').prop('disabled', '' === $('#upload').val() ); 4 4 }}}