I'm not much of a JS expert, and am having trouble trying to find a way to allow the user to be linked to an external website (in the same window/tab) when a certain element inside the dropdown is clicked.
I did find a snippet of JS which adds text buttons to the dropdowns, however I cannot get this to work, and would still prefer the whole dropdown element to be a link.
Can anyone provide me with any support in achieving this please?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "select2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to select2+u...@googlegroups.com.
To post to this group, send email to sel...@googlegroups.com.
Visit this group at http://groups.google.com/group/select2.
For more options, visit https://groups.google.com/d/optout.
I think the latter option (redirect to different page) would be best, however my JS/JQ skills are so limited at the moment that its still causing me a little confusion!