1,555 questions
191
votes
20
answers
335k
views
How do I remove a file from the FileList
I'm building a drag-and-drop-to-upload web application using HTML5, and I'm dropping the files onto a div and of course fetching the dataTransfer object, which gives me the FileList.
Now I want to ...
2
votes
1
answer
2k
views
Does anyone know of a low level (no frameworks) example of a drag & drop, re-order-able list?
I am looking for code (any language) of a basic graphical list which can be reordered by drag and drop. So exactly this functionality http://jqueryui.com/sortable/ but written directly on the frame ...
291
votes
9
answers
217k
views
How do I drag and drop files into an application?
I've seen this done in Borland's Turbo C++ environment, but I'm not sure how to go about it for a C# application I'm working on. Are there best practices or gotchas to look out for?
111
votes
12
answers
106k
views
Does HTML5 allow drag-drop upload of folders or a folder tree?
I haven't seen any examples that do this. Is this not allowed in the API spec?
I am searching for an easy drag-drop solution for uploading an entire folder tree of photos.
6
votes
1
answer
6k
views
Drawing in JLayeredPane over exising JPanels
I am working on developing a Chess game. I want to have the board Container utilize a GridLayout to display an 8x8 grid of JPanels. (This will make functions such as highlighting selected squares and ...
259
votes
16
answers
359k
views
drag drop files into standard html file input
These days we can drag & drop files into a special container and upload them with XHR 2. Many at a time. With live progress bars etc. Very cool stuff. Example here.
But sometimes we don't want ...
13
votes
2
answers
26k
views
How to simulate HTML5 Drag and Drop in Selenium Webdriver?
I am using Python 2.7 and Selenium 2.44.
I want to automate drag and drop action in Selenium WD but according to other related posts Actions in HTML5 are not supported by Selenium yet. Is there any ...
468
votes
41
answers
148k
views
HTML5 dragleave fired when hovering a child element
The problem I'm having is that the dragleave event of an element is fired when hovering a child element of that element. Also, dragenter is not fired when hovering back the parent element again.
I ...
93
votes
8
answers
75k
views
Basic Drag and Drop in iOS
I want to have a view in which there are vehicles driving around that the user can also drag and drop. What do you think is the best large-scale strategy for doing this? Is it best to get touch events ...
41
votes
10
answers
40k
views
jQuery Drag And Drop Using Live Events
I have an application with a long list that changes frequently, and I need the items of that list to be draggable.
I've been using the jQuery UI draggable plugin, but it is slow to add to 400+ list ...
32
votes
1
answer
16k
views
Drag and drop to Desktop / Explorer
Following my scenario.
I got an Application which loads a Filestructure (Folders, Files) from a Database into a WPF ListView. Now I'd like to grab a file from this ListView, drag it over my Desktop (...
87
votes
16
answers
80k
views
Preventing click event with jQuery drag and drop
I have elements on the page which are draggable with jQuery. Do these elements have click event which navigates to another page (ordinary links for example).
What is the best way to prevent click from ...
54
votes
13
answers
142k
views
How to automate drag & drop functionality using Selenium WebDriver Java
How to automate drag & drop functionality using Selenium WebDriver in java?
15
votes
2
answers
24k
views
Java - How to drag and drop JPanel with its components
I have a question about dragging and droping:
I can drop labels, text or icon. But I want to drag and drop a JPanel with all its components (Label, Textbox,..etc).
How can I do this ?
11
votes
3
answers
36k
views
How FileReader.readAsText in HTML5 File API works?
I wrote the following code to check whether the uploaded file exists or not using HTML5 file API.
<input type="file" id="myfile">
<button type="button" onclick="addDoc()">Add ...