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
https://forums.phpfreaks.com/topic/115967-hex-color-preview/
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
https://forums.phpfreaks.com/topic/115967-hex-color-preview/#findComment-596281
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.