如何在下拉框中显示图像而不是文本 [英] How to display images within a drop down box instead of text
本文介绍了如何在下拉框中显示图像而不是文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在下拉框(使用标签)中显示图片而不是文字?
Are there any ways to show images instead of text within a drop down box (using the tag)?
提前感谢
Monte
Thanks in advance, Monte
推荐答案
我已经创建了一个ASP.NET服务器端控件(使用AJAX),其中显示为下拉列表中的复选框列表,所以我可以告诉你 - 可以做到。两个面板,一个看起来像一个下拉列表,当您点击它时显示另一个。将有效载荷放在另一个面板中。
I have created an ASP.NET server-side control (using AJAX) that has a checkbox list in what appears to be a dropdown, so I can tell you -- it CAN be done. Two panels, one which looks like a dropdown and shows the other when you click it. Put the payload in the other panel.
让您开始?
这篇关于如何在下拉框中显示图像而不是文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文