simple java script in ASP.net page

aueddonlineaueddonline Member Posts: 611 ■■□□□□□□□□
Just going through a tutorial at the moment for using java code within a htlm page, I have the code below but when I launch it in a browser I get an empty window? I seem to have the code correct after checking a few times with the book.

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;


<script type=”text/javascript” language=”javascript”>

document.write(“I Love”);
document.write(“<br/>”);
document.write(“Visual Web Developer!”);

</script>

<script runat="server">

</script>



<html xmlns="http://www.w3.org/1999/xhtml"&gt;

<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>
What's another word for Thesaurus?

Comments

Sign In or Register to comment.