Hi Everyone
I have this javascript in a classic asp page...
I need to find out if x.name is undefined or has a value:
x=document.getElementsByTagName("meta")[i];
if (String(x.name) != "undefined" && String(x.name) != ""){
document.write(""+x.name +": "+x.content+"<br><br>");
}
I am not sure why it is throwing an error:
document.write(""+x.name +": "+x.content+"<br><br>");
if x.name or x.content is false?
Thanks