jQuery tagify插件 [英] jquery tagify plug in

查看:276
本文介绍了jQuery tagify插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jquery tagify在表单元格(即td)上添加标签.

这是我的工作 http://jsfiddle.net/Pjcwf/32/

输入标签并按Enter键后,它将回到包含已输入标签但文本框在前移的td.

在输入标签后应删除文本框.

在我本地,我为td使用动态ID

解决方案

您的问题是jsFiddle的各个元素组合在一起的顺序-Script部分包含在呈现页面的HEAD部分中,因此所有在尝试调用它们之前,您在HTML部分中调用的javascript库不存在.

请参见 jsFiddle

I'm using jquery tagify for add tags on table cell,that is td.

Here is my work out http://jsfiddle.net/Pjcwf/32/

When you input a tag and press enter,it will change back to td with holding tags that was inputed but text box is moving front.

textbox should be removed after input tags.

in my local,i use dynamic id for td

解决方案

Your problem was the order in which the various elements of jsFiddle were coming together - the Script section is included in the HEAD section of the rendered page, so all the javascript libraries you were calling within the HTML section were not present before you tried to call them.

See the revision at jsFiddle

这篇关于jQuery tagify插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆