How can I use JQueryTextboxList on my own HTML input field (without using data forms)?

%STARTSECTION{"code"}%

%JQREQUIRE{"chili"}%
<form action="%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%">
*Topics:* <input type="text" size="20" class="foswikiInputField" name="list" class="foswikiInput jqTextboxList {autocomplete: '%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?section=data;contenttype=text/plain;skin=text'}"/>
<input type="submit" class="foswikiSubmit" value="Submit" />
<input type="hidden" name="t" value="%GMTIME{"$epoch"}%"/>
<input type="hidden" name="section" value="list"/>
</form>

%ENDSECTION{"code"}%

%STARTSECTION{"data"}%<literal><noautolink>%SEARCH{
  "1"
  type="query"
  topic="*%URLPARAM{"term" default="thIsW21lllN3verEx1t"}%*"
  web="Tasks"
  nonoise="on"
  header="["
  format="\"$topic\""
  separator=", "
  footer="]"
}%</noautolink></literal>%ENDSECTION{"data"}%

%STARTSECTION{"list"}%%FORMAT{
  "%URLPARAM{"list"}%"
  format="   * [[$web.$topic][$formfield(CurrentState)]]"
}%%ENDSECTION{"list"}%

Topics:

Support.FAQForm edit

TopicClassification FrequentlyAskedQuestion
Subject Extension, Frontend or Javascript or CSS
Topic Summary
Extension JQueryPlugin
Interested Parties
Related Topics JQueryTextboxList
Topic revision: r3 - 27 Dec 2011, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy