search for: attachment_submit

Displaying 1 result from an estimated 1 matches for "attachment_submit".

2011 Jul 07
0
Question of uploading large file using carrierwave, uploadify and nginx upload module
...9;); $.getScript(dat.upload);}, onAllComplete: function(event, data) { alert(data.filesUploaded + '' files uploaded successfully!\nThe average speed is '' + data.speed); window.location = ''#{root_path}''; }, }); $(''#attachment_submit'').click(function(event){ event.preventDefault(); $(''#attachment_file'').uploadifyUpload(); }); }); = form_for @attachment, :html => { :multipart => true } do |f| .field =f.label :file %br =f.file_field :file .action =f.submit &quot...