Code Monkey home page Code Monkey logo

jquery-ocupload's Issues

Not working on Safari browser in Ipad

i have used this for web application but its not working on Safari browser in Ipad.
once i click camera not open only black screen open.please help me to solve this.

Include JQuery UI, now ocupload plugin doesn't work

I've pounded my head on this for a week now. Now my only hope is asking you directly! (or any users who is reading this and already knows the answer!)

I've been using ocupload (https://github.com/andreyfedoseev/jquery-ocupload) without issue. Same with jeditable. Then I added JQuery UI so that i could use the sortable feature. However, including JQuery UI causes ocupload not to trigger. jeditable triggers, but not ocupload. Any help would be much appreciated!

Here are the includes:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script> <script src="../Scripts/jquery.ocupload.js" type="text/javascript"></script> <script src="../Scripts/jquery.jeditable.js" type="text/javascript"></script>

Here is the snipped code:

$('#MainImg').upload({ // this no longer triggers after including JQuery UI!

});

Here is the HTML:

Main Picture

jquery jquery-ui

onError?

Can possibly be that onComplete is called when the file is actually failed to upload?

Is there a place for onError?

Thanks.

Uncaught TypeError: Cannot read property 'submit' of undefined

Hi!

First of all, thank you for sharing this plugin.

I am having a problem and I can't figure out what to do.

I have already set a

and within it I am using a
as the "element" I want to attach the plugin to.

When I attach the plugin though, the console in chrome throws the following error:

Uncaught TypeError: Cannot read property 'submit' of undefined

and it points to line 80 on the code.

this is all I have on the jQuery:

var myUpload = $('#inputFile').upload();

any ideas?

Thank you in advance!

Incorrect file input positioning in IE10

I noticed that in IE10 the hidden file input is not positioned correctly. When I click on my anchor tag it is not also clicking the Browse button on the file input element.

IE7 onComplete Issue

While testing on IE7, I noticed that onComplete was not working correctly. In order to fix this issue, you must change the jquery.ocupload.js to the following:

/** Upload iframe */
var iframe = $("<iframe name='iframe" + id + "' id='iframe" + id + "' style='display:none;'></iframe>");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.