114
votes
10answers
85k views
Is there a good jQuery Drag-and-drop file upload plugin? [closed]
Is there a nice tidy jQuery plugin that allows including a single JS script then using a simple snippet to enable a form? Something like this:
$j('#MyForm').enableDragDropUploads('.upload-area')
...
98
votes
11answers
20k views
Choosing Mobile Web HTML5 Framework [closed]
For the new project, I have been searching for a framework with support of HTML5 and runs on mobile, that is IPhone, IPads. I found out these:
Sencha Touch
M-Project
jQuery Mobile
jQTouch
Titanium
...
87
votes
2answers
46k views
Selecting element by data attribute
Is there an easy and straight-forward method to select elements based on their data attribute? For example, select all anchors that has data attribute named customerID which has value of 22. I am ...
51
votes
10answers
12k views
HTML5 Local Storage fallback solutions
I'm looking for javascript libraries and code that can simulate localStorage on browsers that do not have native support.
Basically, I'd like to code my site using localStorage to store data and know ...
46
votes
2answers
11k views
jQuery equivalent of getting the context of a Canvas
I have the following working code:
ctx = document.getElementById("canvas").getContext('2d');
Is there any way to re-write it to use $? Doing this fails:
ctx = $("#canvas").getContext('2d');
44
votes
1answer
14k views
jQuery Mobile: document ready vs page events
I am using JQuery Mobile and I am having trouble understanding difference between classic document ready and jQuery Mobile page events.
Can someone tell me what is a real difference?
Why should
...
43
votes
5answers
23k views
Can you use CSS3 to transition from height:0 to the variable height of content?
Can you use CSS3 to transition from height:0 to the variable height of content?
41
votes
6answers
8k views
How do you detect the clearing of a “search” HTML5 input?
In HTML5, the search input type appears with a little X on the right that will clear the textbox (at least in Chrome, maybe others). Is there a way to detect when this X is clicked in javascript or ...
36
votes
14answers
3k views
Is valid HTML5 OK to use now?
I've been reading about HTML5 and would like to start using some of it, particularly datasets as I've found an interesting looking jQuery plugin that I can start using...
...
35
votes
4answers
21k views
Get list of data-* attributes using javascript / jQuery
Given an arbitrary HTML element with zero or more data-* attributes, how can one retrieve a list of key-value pairs for the data.
E.g. given this:
<div id='prod' data-id='10' data-cat='toy' ...
5
votes
2answers
76 views
+50
jquery.history.js VS jquery-hashchange
See http://balupton.github.io/jquery-history/demo/
I was attracted with jquery.history.js
mean while I found
http://benalman.com/code/projects/jquery-hashchange/examples/document_domain/
I ...
2
votes
1answer
1k views
Javascript easelJS animation while holding key down
I'm trying to make an HTML5 RPG game using easelJS to handle sprite animations. When I press the arrow keys in any direction the character does not play the animation through, instead it seems to jump ...
0
votes
0answers
8 views
HTML5 JQuery RSS Reader
I found an rss reader and I did some changes in it... It gave me "Application Error". "(file:///android_assset/www/index.html)".
I thought the reason was its trying to download huge data so it ...
0
votes
0answers
4 views
Plupload only partially uploads video in Safari
I have created a video uploader utilizing Plupload for the upload script. It works perfectly in all browsers except Safari. In Safari it uploads a partial file. It seems that its missing one of the ...
0
votes
0answers
40 views
Div is not being scrolled Tizen
I am trying from hours and hours to make a div scrollable but all in vain. I have a div in html file which shows text and text may be lengthy in size so i should make it scrollable.
Here is my div:
...