When change the <script language="javas cript"> to <script type="text/javascript">, javascript function now works no more. Previously it was working. Javascript function is given below -
and place where calling this function are below -
Where is the problem?
Thanks and regards,
Vikas
Code:
function log1()
{
window.location="log1.asp"
}
function page1()
{
window.location="page1.asp"
}
Code:
<font style="position:absolute;left:300; top:400"> <input type="button" style="width:100px" value="Login" onclick="log1()"> </font> <font style="position:absolute;left:300; top:450"> <input type="button" style="width:100px" value="Back" onclick="page1()"> </font>
Thanks and regards,
Vikas
Comment