selection - Make html select option drop down menu open by default -


when select box clicked, drop down list of options displayed. drop down list stays open until user clicks outside or selects 1 of options in drop down list.

is there simple way of making drop down list displayed when user enters page? autofocus better. similar how amazon displays it's menu automatically.

i understand make ul dropdown list + javascript , etc, wondering whether there way of doing select using html or javascript.

you can simulate click on element, click on <select> won’t open dropdown.

using multiple selects can problematic. perhaps should consider radio buttons inside container element can expand , contract needed.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -