DASCA/com.logicalhacking.dasca.js/examples/js_deadcode_001.html

25 lines
438 B
HTML

<!-- example for dead code -->
<html>
<head>
<title>Test Dead Code </title>
<script type="text/javascript">
function validate () { // this method not implemented
var nerd =document.getElementById("in").value;
alert(document.getElementById("in").value);
eval(nerd);
}
</script>
</head>
<body>
<form name="test" action="" >
Name: <input type="text" name="eingabe" id="in"><br>
</form>
</body></html>