snakehips2000
Programmer
Maybe I'm missing something in how this javascript statement is meant to work but I can't get a (blank) select box to display when I load a page. Any advice appreciated:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript">
function makeForm() {
objSel=document.createElement('SELECT');
}
</script>
</head>
<body onLoad="makeForm();">
</body>
</html>
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript">
function makeForm() {
objSel=document.createElement('SELECT');
}
</script>
</head>
<body onLoad="makeForm();">
</body>
</html>