I am developing a web application for mobile where I am using jquery file up-loader plugin. from here
it works great on mobile Chrome and Mozilla. But don't work on default android browser. I want to hide the input where it does not support the plugin. I tried Google, no luck. Can anyone tell how to identify chunk support for the browser?
Try the following:
if(jQuery.fileupload())
{
//hide input code here
}
Related
I have a code where I can drag and drop files when using Chrome or firefox. However, when I use IE 11, when I drop a file, the browser opens the file instead of uploading it. I can't seem to find a good example on how to implement this that works in IE.
You could take a look at the WordPress source. I know they have a drag-and-drop media upload feature that is working great in IE11.
I am using jquery mobile 1.3.0 RTL, which I have downloaded from a link. RTL works fine for all the form components except spinner/drop down in android. For drop down it uses the device's native control. It works perfectly on iOS devices but not in android devices it comes in LTR still. I tried to disable the native spinner by using the following javascript code.
$( document ).bind( "mobileinit", function() {
$.mobile.allowCrossDomainPages = true;
if (/iPhone|iPad|iPod/i.test(navigator.userAgent)){
$("select").attr("data-native-menu","true");
}
else{
$("select").attr("data-native-menu","false");
$.mobile.selectmenu.prototype.options.nativeMenu = false;
}
});
The above code disables the native drop down and jquery mobile designs the drop down selection list. If I have below 10 items in the list it shows properly and it works fine but not for larger lists (Scroll is not working and data is not rendered properly in the list). I would like to go with the native spinner. For more specific, If I am accessing my application through google chrome browser when my language is arabic the spinner is working proper but not in the default Internet explorer. Because hybrid application uses only the web view of internet explorer. Is there any configurations specific to android applications?
The code which I was using for RTL is working fine. I have tested the drop down with english text. Whenever I changed my language to arabic the android native drop down alignment was changed. Thanks for your reply "Tasos"
I have developed a web application using AngularJS & PHP, it works fine on chrome & firefox but have issues loading on IE due to number of JS files, i will have to reduce them to make it work on IE.
When checking the website on an IPAD, all my "angular tags" are displayed like it is
"{{item}}" , "{{d.bar}}" , "{{d.lol}}", {{title}}, {{description}}, {{ratings}} etc.
can anyone have any thoughts why it would display like that
It could be, that there is some JavaScript issue on iPad, which prevents angular from doing its work. If there is some Developer Console on the iPad which displays javascript errors, you can try to fix them.
fancybox is working well on my site when seen on computer
but not working(i mean not getting overlays) on viewing in mobile(android native browser). I don't know what is the problem? is it a bug? please help me.
Fancybox is not supported on mobile browsers, largely because it and similar scripts make heavy use of "position: fixed", which is not supported in Mobile Safari and the Android browser.
See: http://groups.google.com/group/fancybox/browse_thread/thread/c1535b2bdefcad58/507ec578bb5347fa
I have tried to create a multiple image uploader like facebook in my asp.net project.
It is working good in Firefox8, Chrome(15.0.874.121 m),
but the multiple uploader is not working in IE8 and Safari3.2.3.
Then I have tried it by using javascript custom dialog.
Now the problem is the dialog is working in IE only. Can't resolve this.
Qtn:
I have used file upload control like this
asp:FileUpload ID="fileUpload" runat="server" multiple="multiple" accept="image/gif,image/png">
But it is selecting only single file in IE 8 and Safari 3.2.3 whereas in Firefox 8 and in Chrome it is working properly.
Is there any other property to make it possible to select multiple file in all the browsers?
Generally jquery pjugins work in all browsers so maybe it will be a good idea to use this technology. You can easily add javascript/jquery code to your asp.net page.
Have look at this one http://www.uploadify.com/documentation/