views:

56

answers:

2

I have a select list with multiple rows, and I want it to have a small X image at the end of each row so it deletes that row. Any idea how I can do that through CSS or jQuery or something?? Thanks

A: 

Create one div (your "drop-down button") and another hidden div for the container (your "menu" that contains all those rows with images), assign onClick event to the drop-down, so when it's clicked you will toggle your menu.

negative
How do I do that?
fgualda87
using html, css and javascript.
negative
tutorial? where can i see what you are saying so i can have a general idea and do it.
fgualda87
here is a good example http://www.marghoobsuleman.com/mywork/jcomponents/image-dropdown/samples/index.html
negative
A: 

Your best bet is to use a jQuery plugin like this one: http://plugins.jquery.com/project/dropdownReplacement

It allows you to do a lot more with textbox and select fields in terms of styling than a traditional HTML select/option fields would allow for.

nopuck4you