T
Tim Regan
Hi Folks,
This page of asp should (I think) generate a page that reads:
Firstly
Secondly
Thirdly
Fourthly
Fifthly
But it doesn't: the first two lines are swapped and the fifth line is
missing. How should I change it so that it worked?
Thanks,
Tim.
PS Actually a fix for either problem would do.
PPS Here's the ASP:
<html>
<head>
<script language="javascript" runat="server">
var thirdString = "Thirdly<br>";
var fifthString = "Fifthly<br>";
</script>
</head>
<body>
Firstly <br>
<script language="javascript" runat="server">
response.write("Secondly<br>");
</script>
<%=thirdString%>
<script language="javascript">
var clientFourthString = "Fourthly<br>";
document.write(clientFourthString);
</script>
<script language="javascript">
var clientFifthString = <%=fifthString%>;
document.write(clientString);
</script>
</body>
</html>
This page of asp should (I think) generate a page that reads:
Firstly
Secondly
Thirdly
Fourthly
Fifthly
But it doesn't: the first two lines are swapped and the fifth line is
missing. How should I change it so that it worked?
Thanks,
Tim.
PS Actually a fix for either problem would do.
PPS Here's the ASP:
<html>
<head>
<script language="javascript" runat="server">
var thirdString = "Thirdly<br>";
var fifthString = "Fifthly<br>";
</script>
</head>
<body>
Firstly <br>
<script language="javascript" runat="server">
response.write("Secondly<br>");
</script>
<%=thirdString%>
<script language="javascript">
var clientFourthString = "Fourthly<br>";
document.write(clientFourthString);
</script>
<script language="javascript">
var clientFifthString = <%=fifthString%>;
document.write(clientString);
</script>
</body>
</html>