Hello all i have a variable called ct defined in a javascript method.in the same method i use system.out.println which is just for debugging purpose which prints the details in the console..
i wan to print this variable along with system.out.println .how can i do that
when i say llike this it gives me a error
<script language="javascript">
function clock()
{
var ct;
.......
....
<%
System.out.println(" the value is "+ct );
%>
it gives me error how do i print ct
thanks in advance