Hi this is my first post and i hope that am displaying correct information to post standards.
in short i am using a rgb picker used from this tutorial
my main goal is to simply extract the hex value and make an alert out of it.
---
[HTML]<input size="8" id="hexBox" onchange="hexBo xChanged();" type="text">
function redBoxChanged(e )
{
currentColor.Se tRGB(parseInt(d ocument.getElem entById("redBox ").value), currentColor.Gr een(), currentColor.Bl ue());
colorChanged("b ox");
}
var HexValue = document.getEle mentById(hexBox ).getValue;
function TellMe()
{
alert(+HexValue )
}
[/HTML]
---
giovanni
in short i am using a rgb picker used from this tutorial
my main goal is to simply extract the hex value and make an alert out of it.
---
[HTML]<input size="8" id="hexBox" onchange="hexBo xChanged();" type="text">
function redBoxChanged(e )
{
currentColor.Se tRGB(parseInt(d ocument.getElem entById("redBox ").value), currentColor.Gr een(), currentColor.Bl ue());
colorChanged("b ox");
}
var HexValue = document.getEle mentById(hexBox ).getValue;
function TellMe()
{
alert(+HexValue )
}
[/HTML]
---
giovanni
Comment