• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with multiple selections

 
Adam Bjernod
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!

I completely new to javascript, so I need some help, please

I have a rather long list of words or phrases that i want to be selectable and de-selectable. When the user presses submit the selected words/phrases should be sent in a form using GET/POST

Make any sense? And can any of you help?

Thanks!

Abj
 
Paul Clapham
Sheriff
Pie
Posts: 20980
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think you need Javascript, instead of (say) an ordinary HTML multiple selection?
 
Adam Bjernod
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because i would like to be able to style the appearance and also make categories
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case you should investigate jQuery UI Selectables which can make any DOM element "selectable".
 
Adam Bjernod
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this "[link removed]" - I like the "Fancy JavaScript method" with CSS styling, but i can't make it work with the sourcecode he is giving...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The author has a contact page, I suggest you contact the author regarding any problems you are having with his code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic