I need to change the token limit of a token input textbox dynamically based on its add and on delete functions. In my case when the user selects an item called "all users" from the list, the token limit should change to 1 and when the same is...
I think this is more of a jQuery question than that of grails.I am trying to make tokeninput work with a grails form with the following input:  <g:field type="text" name="tags" id="my-text-input"></g:field>   This...
How can I add a placeholder to a jQuery Tokeninput field? A normal placeholder attribute won't work in here....
I am using the setup of the R.B. railcast - #197 Nested Model Form Part 2 to dynamically add fields to the form but i am having issues getting the Tokeninput fields to work.  Form:  <%= form_for(current_user, :url => user_products_path) do |f|...
Im using jquery Tokeninput library for autocomplete functionality. Im currently struggling with the issue I have with the search results. When I type something, it returns all the words for characters which are being typed. I want it to only return t...
I'm using the tokeninput plugin from http://loopj.com/jquery-tokeninput/ to implement an autocomplete textbox with the selected items appear as Facebook-like tokenized tags.  $("#Friends").tokenInput("MyPath/GetTokens", {...
I am using Jquery Token Input version 1.6.0. I would like to be able to enter custom entries into the token-input, but everytime I do so the form submits (I type a custom word and hit enter). Here is my code (in coffeescript):  jQuery ->     $(...
I'm trying to take values from a tokeninput field, save them to localstorage then retrieve them later. I am getting an error. Code:  //Save to storage  var selectedValues = $('#Contacts').tokenInput("get"); console.log(JSON.string...
I am trying to save a new tag entered in input field that was not there in database and want to save that created tag on form submit. Here is my controller which is sending the autocomplete list to the tokeninput input field:  def tags = {         de...
I followed this screencast: http://railscasts.com/episodes/258-token-fields?view=asciicast  As one of the steps, I added the prepopulate option as suggested and got the edit form working nicely. This is the javascript, written in coffeescript since I...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.