Thanks for looking at this. Ref: http://plugins.jquery.com/
Main Topics
Browse All TopicsThe plugin works just fine and it looks cool. But how do I get to the options that were selected? When I $_POST, there is no result, no data, no value from the custom select box.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks for looking at this. Ref: http://plugins.jquery.com/
I find this mind boggling because it seems like this makes the plugin rather useless, but this plugin doesn't seem to provide any built in method of retrieving the selected value. What most of these plugins do is just hide the standard HTML select element and when you pick a value in the styled element it updates the hidden element, and then the hidden element is what actually gets POSTed when you submit the form. In this case however, it doesn't hide the select element, it actually removes it from the page and replaces it with the styled element, so when the form is submitted the select element doesn't exist - hence no results in your $_POST.
So, 3 choices really in order of easiest to most difficult:
1) Pick a different plugin
2) Hack the plugin to hide the select instead
3) Use AJAX to submit your form and some custom JS to get the value that's selected
Take your pick and I'll do my best to walk you through it.
Thanks for that - so I'm not losing my mind. I was rather baffled by it as well. Most of the other jQuery stuff that I have run into is quite solid.
I will fish around for another plugin before traveling down the more time consuming routes (though thank you very much for offering to walk me through a hack or an AJAX submit). I might try contacting the guy that wrote the plugin.
I really need a multi-select capability. Check boxes and radio buttons add to much clutter (if you have lots of options as I do). Anyhow... thanks.
The author of the plugin responded with this:
This is the html that is generated when the plug in is created. If you look you can see that there is a hidden input tag. This is where the value of the select box would get passed on the request.
<div class="select_wrap"><div class="selectbox selectboxopen"><ul><li>Sample Selection Long Version</li></ul></div><div class="selectboxoptions_wr
This is the multi select there is a hidden input for each value all have the same name so on the request it would come over as an array.
<div class="select_wrap"><div class="selectbox selectboxopen"><ul><li>Sample Selection</li></ul></div><div class="selectboxoptions_wr
Business Accounts
Answer for Membership
by: anoyesPosted on 2009-09-06 at 17:28:52ID: 25272146
Can you provide a link to the plugin? There are a bunch of custom select jQuery plugins and I'm not sure which one you're using.