Jump to content

Hex Color Preview?


Deanznet

Recommended Posts

Hey everyone, i got a button and a input box.

 

When they hit the botton they can pick colors and it puts the color code in the input box such as #44feds

 

My question is how can i make  like a little small input box that shows the color of of thats in it. and updates automaticly if i just click and delete and put 00000 or 421fsd

 

If ya understand. And it also going to need to know what text box to get the hex from cause ill have more then 1 on their.

Link to comment
Share on other sites

Hi, I think I understand what you are getting at, but my solution doesn't work in IE, so that'll have to be skipped. Is it the event handlers you are having trouble with, or the AJAX part? As far as I know, you don't need to use AJAX to change the on-screen color, but as you know definately for the update. Another thing, I am new here and I am dying to ask: don't we call it SAJAX? I don't want people to think I am an ASP.NET developer  :o

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.