Displaying 20 results from an estimated 10000 matches similar to: "After order a HTML with JQuery UI Drag and Drop, save ordered table to DB using Rails"
2005 Jul 12
2
save order from drag and drop
only just found the script.aculo.us site. brilliant. much respect.
wondered if anyone can point me in the right direction on this drag and drop
list re-ordering type thing, i''ve read through what I can but to be honest
it''s gone right over my head! How do I get the new order that has been
established via dragging list elements around and store them in a database.
I figured an
2011 Jul 28
1
Help install jquery ui
I tryed rails generate jquery:install --ui but my draggable method still
does nothing.
Can anyone help me ?
What is the proper way to install jquery ui (specially for dragging
elements)?
Thank you,
Rodrigo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2005 Aug 09
0
how do I report the list order of a drag and drop list back?
Hello,
I try to report the new order of a list back to the server, after the
drag & drop is done, but I am not sure how to do it.
My ids are underscore separated like this:
<ul class="sortablelist" id="ja">
<li class="green" id="item_1">Item 1</li>
...
</ul>
I define the sortable like this:
Sortable.create("ja",
2007 Apr 11
1
Drag and Drop sorting of images, need to save
Okay, I know it is out there somewhere. I am working in
script.aculo.us trying to get a series of images to go into a grid and
be reordered. Then the form can be submitted and saved in a
database. I am working in ColdFusion, but understand ASP and PHP.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2011 Jul 07
2
Rails 3.1 + jQuery + jQuery UI = data is null
Trying to get jQuery UI to work with my rails 3.1 setup, but i keep
getting errors that i cant see posted anywhere, this is driving my
insane so please have a look =>
[application.js]
// This is a manifest file that''ll be compiled into including all the
files listed below.
// Add new JavaScript/Coffee code in separate files in this directory
and they''ll automatically
// be
2011 Mar 22
0
Error on ajax forms/links in jQuery UI tabs
I''ve implemented jQuery UI tabs, and I get an error:
When i submit a ajax form or link, it gets submitted multiple times.
As seen in this Doom console output:
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE http://localhost:3000/innmeldings/101 404 (Not Found)
DELETE http://localhost:3000/innmeldings/101
2013 Jun 28
0
ruby on rails couldn't find file 'jquery.ui.all'
couldn''t find file ''jquery.ui.all'' which is a known issue, I added
*=require jquery.ui.all to application.css and //= require jquery.ui.all to
application.js but still get the error.
http://bpaste.net/show/1RqTDUte2XLBoj8fdTbf/
Sprockets::FileNotFound in Preorder#index
Showing
/var/www/localhost/htdocs/selfstarter/app/views/layouts/application.html.erb
where line
2011 May 21
0
Jquery UI with rails nested forms
I am very beginner to ruby on rails and web-development.
I created my app that similar to Ryan Bates, episode 197 and 198, but
with use JQuery UI datepicker. But I dont really know how to do that.
I know that the problem is with element ID always same whatever I
generated new dynamic partial. For example, when I choose a day, it
works fine. but when I add new nested model (or record), only the
2011 Oct 29
1
Refresh tab content on click in JQuery UI Tabs
HI Guy''s
TAB1 and TAB2 have some radio button, checkbox and dropdown menu. When
TAB1 is selected, I have to switch to TAB2 and then back to TAB1 to refresh
the loaded content.
How to make TAB1 refresh loaded content when click on its tab?
*code is something like that*
<ul class="tabs">
<li><a *href="#tab1"*>Gallery</a></li>
2012 Nov 18
0
How mix jquery based ui packages and ruby on rails
I am trying to use jqx ui that is based on jquqery I have following
questions
1. How do I generate the right id and name for the element without setting
the element name and id in the format model name [attribute] ? Example
<%= f.text_field :country_id %> generates
sets the element id and name to bank[country_id]
2.how do i set the form element attributes like action ? Do i just use
2008 Mar 23
3
Nested Droppable divs -- drag & drop
I am having trouble with scriptaculous'' drag & drop here. I have a div
that''s droppable, and two divs contained within that first div, each
of which are also droppable. The containing (outer) div seems to grab
all drops. Even though I defined the inner ones as "greedy" which is
supposed to mean that draggables don''t propagate through.
I read elsewhere that
2011 Dec 13
1
continuous jquery partial update
Rails 3.1.x - jquery
drag_drop.js
$(function() {
$( "[id^=moveable]" ).draggable();
$( "#droppable2" ).droppable({
drop: function( event, ui ) {
$( this )
.addClass( "ui-state-highlight" )
$.post( "groups/add_member/", { "add": ui.draggable.text() }, function(data) {
2005 Sep 16
1
Drag and Drop effects without dragging and dropping?
Hi there,
This is very much a newbie question. I''ve been playing with the wiki.script.aculo.us
libraries drag & drop functionality (sortable list) for a few days and trying to figure
out how the scripts work, without a lot of luck.
I was wondering how the "move" of the option is achieved (the "flying" option effect, if
you will) and whether I can achieve the
2009 May 01
2
Shared clipboard, drag and drop, Linux <> Wine 1.1.20
Can Wine be set up to allow "drag and drop" between Ubuntu 9.04 Nautilus 2.26.2 file manager and a Windows app running in Wine?
The Windows application is the "Yamaha File Utility" v1.1.0 which allows MIDI files to be transferred to a Yamaha CLP-150 Clavinova digital piano. Unfortunately, the software relies on drag and drop for the file transfer. In native Windows, I would
2006 Mar 29
2
Drag/Drop and KeyPress
Hi!
is it possible to make a drag dependent on a KeyPress event? I couldn''t
find any information on that on the script.aculo.us website.
My scenario is the following:
I have a tree with several nodes (like windows explorer). Right now i
use Drag & Drop to move a node below a new parent.
Now i want to implement a copy mechanism which allows the user to copy a
node through Drag
2005 Aug 01
2
scriptaculous: Drag/Drop Sluggish Animation (release animation time should be proportional to remaining distance)
Thomas suggested posting these here so they don''t get
lost.
Making Scriptaculous Snappy:
*) Drag/Drop - make release cost proportional to
remaining distance
For drag/drop - change the ''release'' animation time to
be proportional to the remaining distance the dropped
item has to travel. If a user drags the item almost
all the way to the final location, the release time
2007 Dec 18
1
Prevent drag and drop within Samba shares
Hello,
Is there a parameter in smb.conf that prevent users to use drag and drop
within Samba shares?
I know this is a Winedow$ function, but some users (hum, hum) use Explorer
to open their files and accidentally they drag and drop sometimes a
directory in the root of the share to another directory in the root of the
share.
My samba server is member of a native W2k3 server Active Directory and
2005 Oct 12
0
question about scriptaculous drag and drop shopping cart
I got the dragging to work, and the adding the to cart , but i''m having
a problem drag from with the cart div it doesn''t drag. But the
dragging works on the cart (url)
here is a quick example of the cart
http://64.90.176.114/ajax/drag.php
- try dragging into the the solid line div (it will add an item to the
db). but then try and drag from within the solid line div (gray
2008 Jul 15
0
Drag/Drop with Image Maps
Hi all,
Is it possible to use HTML area objects from an image map as
droppables for a drag/drop interface? I want to get a different
response depending on which part of an image I drop a draggable div
object on. The context is creating an incident report form where
injuries can be dragged onto a body sketch. I''ve tried this using the
code below. However, the droppable is always
2005 Sep 20
1
multiple items drag and drop
Does anyone know how I can create something that would enable me to drag & drop multiple items?
Example: In an email application (like outlook web access) I want to select multiple mails and move them to a folder.
Is it possible to do it with this library?
The shopping cart example doesn''t let you select the other div (image) using the control key...
Any help would be greatly