Is there an开发者_如何学Pythony code or site which will provide me a source code for custom select
I want to use a image in in place of default dropdown icon..
Thanks
It can't be done with normal HTML or CSS, I've tried also.
You might find this useful: jQuery custom select boxes.
Really easy to implement and you can style the select boxes any way you want.
Hope it helps :)
You can take this jQuery Combo: http://www.marghoobsuleman.com/jquery-image-dropdown
Nope, can't be done with normal HTML <select>
elements.
You would have to resort to a JavaScript-driven alternative.
The Uniform plugin for jQuery is quite nice for this; it let's you style the select drop down form element as well as check boxes and radio buttons. It's worth a look.
精彩评论