/    Sign up×
Community /Pin to ProfileBookmark

Color picker for form

[url]http://www.titancore.net/color.htm[/url]

I wrote in the htm file what is going on, so i hope you can understand what i am trying to do.

Any help would be great.

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@UltimaterMay 08.2005 — I understand what your after. An INPUT field cannot have two different colored text at the same time...

You can, however, use a content editable DIV.
Copy linkTweet thisAlerts:
@immortal20authorMay 08.2005 — where can i get something like that?
Copy linkTweet thisAlerts:
@UltimaterMay 08.2005 — Here's a simpler example so you get the feel for contenteditable DIVs.
<i>
</i>&lt;div [color=royalblue]contenteditable[/color] style="border: 1px solid gray;"&gt;
&lt;b&gt;fe&lt;/b&gt; &lt;font color=green&gt;d&lt;/font&gt;&lt;font color=blue&gt;d&lt;/font&gt;
&lt;/div&gt;
×

Success!

Help @immortal20 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.4,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...