You can run the script, at body onload. ie u can call a function with the help of body onload parameter, as follows
<script>
function runScript() {
document.testForm.userId[0].checked='true';
document.testForm.userId[1].checked='true';
}
</script>
<body on load="runScript()">
...
</body>
Hope this resolves ur situation.
Cheers,
Liju
P.S.: There is no space between on & load in the body tag. Couldn't post it as one
word.
[ April 05, 2006: Message edited by: Liju Cherian ]
"What's in a name? That which we call a rose by any other name would smell just as sweet."<br />(William Shakespeare, Romeo and Juliet, Act II, Scene II)