javascript - How to add an image to select option in HTML with PHP? -
i want add image in select option in html php.
the image first fetched database.
echo '<option value='.$ifet['productimage'].'><img src='.$ifet['productimage'].'/></option>';
images don't work in select infact type of css not supported in select except line-height , border can use jquery:
here demo: http://designwithpc.com/plugins/ddslick#demo
Comments
Post a Comment