English 中文(简体)
包含多项选择的HTML选择标记?可能的
原标题:HTML select tag with multiple selections? possible?
  • 时间:2011-05-31 22:51:54
  •  标签:
  • html

我正在寻找HTML列表标签,用户可以从列表中选择几个选项,类似于<code><;选择>标记,但同时选择多个选项除外

我正在寻找的正是与Java中的jList非常相似的东西,该列表一次显示多个选项(与<code>select</code>标记不同),并包含滚动条,用户可以一次选择多个选项,如下所示:

有这么瘦的HTML或Javascript吗?还是可以作为插件使用?

提前感谢

最佳回答

只需将multiple=“multiple”添加为<;选择>

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!