/    Sign up×
Community /Pin to ProfileBookmark

Pull down menu – insert a line or blank

Hi, I’ve got a pull-down menu that’s split into 3 different areas … and I’m wondering if there’s a way that you can divide the options with a line, or a blank line that can’t be selected.

Originally I was going to use (eg)

<option value=1>One</option>
<option value=2>Two</option>
<option value=0 DISABLED>——-</option>
<option value=3>Three</option>
<option value=4>Four</option>
<option value=5>Five</option>
<option value=6>Six</option>

but you can still select it … ?

Anyone know what I mean? :rolleyes:

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@AshauthorJan 12.2004 — Cheers fella, that'll do nicely!
Copy linkTweet thisAlerts:
@fredmvJan 12.2004 — No problem. ?
×

Success!

Help @Ash spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...