once you select an item on a multiselect html listbox, is there anyway to deselect all -


my users can't seem deselect on select in html. have basic multiselect listbox in html:

 <select class="longdropdown" id="selectedcalendars"          multiple="multiple" name="selectedcalendars">      <option value="13">er</option>      <option selected="selected" value="26">billy 123</option>      <option selected="selected" value="28">new cal</option>  </select> 

if few items start out selected, can change clicking on others remove selection, there doesn't seem way user deselect them all. have write jquery / javascript code programatically. flaw in html ui spec?

on macos, user can + click on last selected item deselect it. on other platforms, user use ctrl + click instead.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -