Hey,
I want to, using Javascript, to add an onload script to the <body> tag. IT will be a Greasemonkey script, and using Javascript I want to do the following:
Say I have a body tag of:
I want to change this, using Javascript, to:
Thanks very much
I want to, using Javascript, to add an onload script to the <body> tag. IT will be a Greasemonkey script, and using Javascript I want to do the following:
Say I have a body tag of:
Code:
<body class="oneColFixCtr">
I want to change this, using Javascript, to:
Code:
<body class="oneColFixCtr" onload="document.forms['myForm'].elements['firstField'].focus()">
Thanks very much