Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (47 sloc) 2.18 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Tag Editor - example</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/master.css" rel="stylesheet" type="text/css" />
<link href="css/jquery-ui/jquery.ui.autocomplete.custom.css" rel="stylesheet" type="text/css" />
<script src="js/jquery/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery-ui/jquery-ui-1.8.core-and-interactions.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery-ui/jquery-ui-1.8.autocomplete.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/ie-compat.js" type="text/javascript" charset="utf-8"></script>
<script src="js/tag-it.js" type="text/javascript" charset="utf-8"></script>
availableTags: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"],
// configure the name of the input field (will be submitted with form), default: item[tags]
itemName: 'item',
fieldName: 'tags'
<div id="content">
<form class="myform">
<div class="line">
<p><strong>Tag it!</strong> ~ Tag editor and suggestions</p>
<p>After looking for a jQuery plugin for handling a 'tag suggestion' form field, in much the same way does, I ended up developing a customization of jQuery UI that does the same interaction.</p>
<div class="line">
<label for="tags">Tags</label>
<ul id="mytags">
<!-- Existing list items will be pre-added to the tags -->
<div class="line">
<p>Built with <a href="" target="_blank">jQuery</a> and <a href="" target="_blank">jQueryUI</a>.</p>
<p>By <a href="">Levy Carneiro Jr</a></p>