C
Chris Ashley
How do I check if an object exists in Javascript?
EG:
if (document.getElementById("product").value == null)
{
prodValue = "";
}
else
{
prodValue = document.getElementById("product").value;
}
This gives me an 'object required' error...
EG:
if (document.getElementById("product").value == null)
{
prodValue = "";
}
else
{
prodValue = document.getElementById("product").value;
}
This gives me an 'object required' error...