I tried the solution mentioned here How To add a placeholder to jQuery Tokeninput? but its not working.Can anyone please tell me if it is possible to add default text in text fields using Tokeninput?
Asked
Active
Viewed 977 times
2 Answers
0
I also suspect if you use old version of tokeninput. tokeninput 1.7 is out now: https://github.com/loopj/jquery-tokeninput/releases/tag/v1.7.0
Using placeholder in tokeninput:
$(function() {
$("#tokeninput_1").tokenInput("<address your script>", {
...
placeholder: 'your placeholder text ...'
});

atari83
- 489
- 1
- 5
- 15