C
chirs
I try to test a field to see if it's empty. But it prints "It is not
null". Why and how can I fix it?
<html>
<head>
</head>
<body>
<input type="text" name="box1">
<script>
if (box1.value != null) {document.write("It is not null")}
else {document.write("empty")}
</script>
</body>
</html>
null". Why and how can I fix it?
<html>
<head>
</head>
<body>
<input type="text" name="box1">
<script>
if (box1.value != null) {document.write("It is not null")}
else {document.write("empty")}
</script>
</body>
</html>