I have a form that i was trying to get form focus on when the page loads, i used function sf, this worked for I.E and netscape but not for Galeon..linux
So i added the other scripts below and called
onclick="dynOutline()"> in the body..........
But i cannot understand that calling dynOutline() does anything ...as there is nothing in this part of the script.
<script language="JavaScript" fptype="dynamicoutline">
<!--
function dynOutline() {}
//-->
</script>
So please help me understand the code..........
It works.........but i like to know what it is doing.
<script type="text/javascript"><!--
function sf(){
document.f.q.focus();
window.focus() ;
document.f.q.focus();
}
// -->
</script>
<script language="JavaScript" fptype="dynamicoutline">
<!--
function dynOutline() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicoutline" for="document" event="onreadystatechange()">
<!--
//-->
</script>
</head>
<body onLoad=sf() bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onclick="dynOutline()">
So i added the other scripts below and called
onclick="dynOutline()"> in the body..........
But i cannot understand that calling dynOutline() does anything ...as there is nothing in this part of the script.
<script language="JavaScript" fptype="dynamicoutline">
<!--
function dynOutline() {}
//-->
</script>
So please help me understand the code..........
It works.........but i like to know what it is doing.
<script type="text/javascript"><!--
function sf(){
document.f.q.focus();
window.focus() ;
document.f.q.focus();
}
// -->
</script>
<script language="JavaScript" fptype="dynamicoutline">
<!--
function dynOutline() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicoutline" for="document" event="onreadystatechange()">
<!--
//-->
</script>
</head>
<body onLoad=sf() bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onclick="dynOutline()">
Comment