D
Deere
I have been trying to put some data in "Text1" in trying to figure out
my problem I'm showing the element comes back as null...why?
<script type="text/javascript">
elem = document.getElementById('Text1');
alert(elem) //..shows null
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<input id="Text1" type="text" />
</form>
</body>
</html>
my problem I'm showing the element comes back as null...why?
<script type="text/javascript">
elem = document.getElementById('Text1');
alert(elem) //..shows null
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<input id="Text1" type="text" />
</form>
</body>
</html>