こんにちは、株式会社Pentagonでコーダーをしているあきです。 今回はjQuery UIのSortableを利用してテーブルの行をドラッグ&ドロップで入れ替える方法を紹介します。 まず、jQuery、jQuery UIのライブラリを読み込む必要があります。 下記は必要なファイルです。
Droppables DraggableなDOM要素をドロップできるようにする Sortables マウス操作でDOM要素の順番を入れ替えられるようにする Selectables DOM要素をマウスで選択できるようにする Resizables DOM要素の大きさをマウスで変更できるようにする jQuery UI 1. 5bは 「jQuery UI: Widgets ...
jQuery UI Sortable is a jQuery plugin that allows users to rearrange elements on a webpage by dragging and dropping them. To use it, you must include the jQuery and ...
jquery-sortable-rails is a Rails wrapper gem for the jQuery Sortable (https://johnny.github.io/jquery-sortable/). It provides an easy way to include the jQuery ...
jQueryとは、 John Resigによって開発され、 最近非常に注目を集めている Javascriptライブラリです。 JavaScriptとHTMLの対話を劇的に改善し、 Ajaxなどにより複雑化してきているWebアプリケーション構築に必要な処理を非常に簡潔に書くことができます。また ...
Donno if there's any jQuery masters around here (well, I know there's 1 who wrote a jQuery book...he was my sekrit sanata a while back..) but I've been banging my head against the wall all day on this ...