How to set a Radio button Pre-selected on a form using nested:radio tag

Hi all,

I am facing the following problem :-

I have a JSP page where there multiple radio buttons.

Among them I want the radio button A to be preselected while loding the form...

For my application I have to used <nested:radio> tag...

Please help

Regards,

Subhra

[317 byte] By [subhra-misraa] at [2007-10-2 22:11:18]
# 1

Hi here the code is...

<HTML>

<HEAD>

<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">

<TITLE></TITLE>

</HEAD>

<script language=javascript>

function show(){

radio1.checked = true;

}

</script>

<BODY onLoad=show()>

<P><INPUT id=radio1 type=radio

name=radio1 ></P>

</BODY>

</HTML>

vinu@sun.sdna at 2007-7-14 1:28:09 > top of Java-index,Core,Core APIs...