G
groupie
Hi,
This code is in <head>. If I write this:
<script language="JavaScript" type="text/javascript">
<%
if (oRs.BOF && oRs.EOF )
%>
alert("hello");
</script>
....then the BOF/EOF methods are valid but the IF statement is not.
If I write this instead:
<script language="JavaScript" type="text/javascript">
if (oRs.BOF && oRs.EOF )
alert("hello");
</script>
....then the IF statement is valid but the BOF/EOF methods are not.
How can I fix this please? Thanks.
This code is in <head>. If I write this:
<script language="JavaScript" type="text/javascript">
<%
if (oRs.BOF && oRs.EOF )
%>
alert("hello");
</script>
....then the BOF/EOF methods are valid but the IF statement is not.
If I write this instead:
<script language="JavaScript" type="text/javascript">
if (oRs.BOF && oRs.EOF )
alert("hello");
</script>
....then the IF statement is valid but the BOF/EOF methods are not.
How can I fix this please? Thanks.