Deanznet Posted July 22, 2008 Share Posted July 22, 2008 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. Quote Link to comment Share on other sites More sharing options...
Orikuuido Posted July 22, 2008 Share Posted July 22, 2008 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 Quote Link to comment Share on other sites More sharing options...
corbin Posted July 23, 2008 Share Posted July 23, 2008 <input type="blah" name="bleh" onchange="SomeFunction();" /> SAJAX? I've always heard it called AJAX lol. Asynchronous Javascript and XML >.<. Quote Link to comment Share on other sites More sharing options...
secoxxx Posted July 23, 2008 Share Posted July 23, 2008 SAJAX is a ajax/php framework. Quote Link to comment Share on other sites More sharing options...
corbin Posted July 23, 2008 Share Posted July 23, 2008 Just googled it. Not a fan of their coding style. Quote Link to comment Share on other sites More sharing options...
secoxxx Posted July 23, 2008 Share Posted July 23, 2008 yeah, its easier to use HTTPRequests and php native. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.