Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <button type="submit" id="submit_button" class="btn btn-default">Odeslat</button>
- $('#file_upload').uploadify({
- 'swf' : 'css/uploadify.swf',
- 'uploader' : 'uploadify.php?galerie=<?php echo $n; ?>',
- 'onUploadProgress' : function(file) {
- $('#submit_button').prop('disabled', true);
- }
- });
- $('#file_upload').uploadify({
- 'swf': 'css/uploadify.swf',
- 'uploader' : 'uploadify.php?galerie=<?php echo $n; ?>',
- 'onUploadProgress' : function(file) {
- $('#submit_button').attr('disabled', 'disabled');
- },
- 'onUploadComplete': function(file) {
- $('#submit_button').removeAttr("disabled");
- }
- });
- $('#file_upload').uploadify({
- 'swf' : 'css/uploadify.swf',
- 'uploader' : 'uploadify.php?galerie=<?php echo $n; ?>',
- 'onUploadProgress' : function(file) {
- $('#submit_button').attr('disabled', 'disabled');
- },
- 'onComplete': function(event, queueID, fileObj, response, data) {
- $('#submit_button').removeAttr("disabled")
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement