Post the code.
I have a RGB to HEX converter, but is there a way of getting it to alert what it was actually set it too?
If you've got a function then you just need to alert the result don't you?
alert(rgbToHex(255,255,255)); // #ffffff
Yeah, I got it using
But weird that I set it as one, the one I'm working with, and the browser sets it as another.
You're right, it is one of those weird inconsistencies in the DOM between browsers.
This topic is now closed. New replies are no longer allowed.