首页 \ 问答 \ Jquery在表之间拖放插件(Jquery drag and drop plugin between tables)

Jquery在表之间拖放插件(Jquery drag and drop plugin between tables)

我正在寻找一个jquery插件,可以在两个不同的表之间拖放。 我有一个包含搜索结果的表,我希望能够将每个结果拖到另一个表中,以便能够将它们添加到该表中。 有人知道如何做到这一点?


I'm looking for a jquery plugin that makes it possible to drag and drop between two different tables. I have a table containing search results and I want to make it possible to drag each result to another table to be able to add them to that table. Anyone got an idea on how to do this?


原文:https://stackoverflow.com/questions/1824924
更新时间:2021-10-24 15:10

最满意答案

您将拥有HTML5.0,具有类似本地数据库的功能。 但是你的安全意味着什么? HTML5.0对于跨站点问题是安全的,但用户仍然可以完全访问数据,我认为不需要加密。

谷歌的齿轮确实合适,但它不是标准,而HTML5.0,Safari支持5.0,我猜Opera和Firefox也将在2009年中期,如果他们还没有。 资源管理器,可能会有一些错误的实现,因此他们可以强制开发人员使用Silverlight。

编辑:斯蒂芬,我看到你需要在他们离开后销毁缓存,当然除非他们的机器有一个接近传感器,这是不可能的:)但是你可以让他们的Javascript在他们注销时删除所有内容。

链接到HTML5.0规范

链接到HTML5.0缓存规范

链接到HTML5.0会话存储规范 (受欢迎的请求:)


You'll have HTML5.0 with local database-like features. However what do you mean by secure? HTML5.0 will be secure against cross-site issues, but the user will still have full access to the data, I don't think encryption is required.

Google gears does fit, but its not a standard while HTML5.0 is, Safari supports 5.0, and I guess Opera and Firefox will too by mid 2009, if they don't already. Explorer, probably will have some buggy implementation so they can force developers to use Silverlight.

Edit: Stephen, I see you need to destroy the cache after they leave, of course unless their machine has a proximity sensor this won't be possible :) But you could have your Javascript delete everything when they Logoff for example.

Link to HTML5.0 specs,

Link to HTML5.0 Cache specs

Link to HTML5.0 session storage specs (By popular request :)

相关问答

更多
  • 如果这是关于.css和.js更改,一种方法是通过将“ _versionNo ”附加到每个版本的文件名中来“缓存破坏”。 例如: script_1.0.css // This is the URL for release 1.0 script_1.1.css // This is the URL for release 1.1 script_1.2.css // etc. 或者在文件名后面做: script.css?v=1.0 // This is the URL for release 1.0 scrip ...
  • 您将拥有HTML5.0,具有类似本地数据库的功能。 但是你的安全意味着什么? HTML5.0对于跨站点问题是安全的,但用户仍然可以完全访问数据,我认为不需要加密。 谷歌的齿轮确实合适,但它不是标准,而HTML5.0,Safari支持5.0,我猜Opera和Firefox也将在2009年中期,如果他们还没有。 资源管理器,可能会有一些错误的实现,因此他们可以强制开发人员使用Silverlight。 编辑:斯蒂芬,我看到你需要在他们离开后销毁缓存,当然除非他们的机器有一个接近传感器,这是不可能的:)但是你可以让 ...
  • 在Chrome,IE,Firefox和大多数其他浏览器中, Ctrl+F5 (“硬刷新”)将强制重新加载页面上的缓存资源。 我一直这样做。 我不能说Safari,但我希望它也能做到这一点。 编辑 :我只是搜索“+ Safari +硬+刷新”,它看起来像在Mac上,你按住Options键, 同时点击刷新 。 有些消息称Shift也可以 , Command+Option+E清除缓存 。 In Chrome, IE, Firefox, and most other browsers, Ctrl+F5 ("hard ...
  • 当您重新加载/刷新网页时,大部分时间脚本都将从缓存中重新加载。 通过按住shift键并点击刷新按钮,您可以强制浏览器重新加载外部脚本文件。 如果这不起作用,您可能需要检查在您和网页之间是否有代理服务器。 如果它是一个本地网页,转换按钮应该做的伎俩。 When you reload/refresh a web page most of the time scripts are reloaded from cache. You can force the browser to reload the extern ...
  • 如果浏览器从www URL(#1)请求图像并将HTTP重定向到无www版本(#2),它是否会将结果存储为仅#2或#1的缓存值。 @: 参见301的W3C状态码定义 。如果是301重定向,它应该是可缓存的。 请参见如何重定向网页(301) 。 浏览器偶尔会询问新版本的图像(可能会得到它,或者“未修改”响应)。 然后每次都必须处理重定向的开销。 这个开销是否大于存储同一图像的两个版本的成本? @: 我不确定这一点,我想如果重定向是由webserver(IIS,apache等)处理的,那么开销应该是最小的。 不要 ...
  • 外部javascript文件被缓存,当然,包含脚本标签的html也可以缓存。 你看到的可能是html缓存或一些浏览器优化的结果。 您应该尝试不同的浏览器,关闭并重新打开浏览器并清除浏览器的缓存。 External javascript files are cached and, of course, an html containing script tags can be cached too. What you see may be a result of html caching or some br ...
  • 将其引用为JSF资源。 然后JSF资源处理程序将自动处理缓存。 其默认的到期时间可在web.xml配置 。 而不是
    也可以看看: 如何在Facelets模板中引用CSS / JS /图像资源? Reference it as JSF resource. Then JSF resource handler will ...
  • 您的Cache-Control无效,请尝试使用逗号分隔值: must-revalidate, max-age=120 。 RFC 7234超文本传输协议(HTTP / 1.1)的相关摘录:缓存 : Cache-Control = 1 #cache-directive cache-directive = token [“=”(token / quoted-string)] RFC 7230超文本传输协议(HTTP / 1.1)中的 ABNF列表扩展:消息语法和路由 : 定义了构造“#”,类似于“*”,用于定义 ...
  • 看起来你正在使用CefSharp ? 如果是这样,查看代码,您似乎想要使用空CachePath创建浏览器: /// /// Returns the cache path for this object. If empty an "incognito mode" /// in-memory cache is being used. /// string CachePath { get; } 看看他们的样本 (我假设没有窗口),看起来它会大致得到你想要的东西: var ...
  • 单击扳手图标 在浏览器工具栏上。 选择工具。 选择清除浏览数据。 在出现的对话框中,选中要删除的信息类型的复选框。 使用顶部的菜单选择要删除的数据量。 选择开始时间以删除所有内容。 单击清除浏览数据。 Click the wrench icon on the browser toolbar. Select Tools. Select Clear browsing data. In the dialog that appears, select the checkboxes for the types of ...

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。