01.
<%
02.
03.
%>
04.
05.
<script language=
"JavaScript"
>
06.
07.
function Check(rdo)
08.
{
09.
if(rdo.checked)
10.
{
11.
if(rdo.value !=
"<%=objRec.Fields("
rdoReserve
").Value%>"
)
12.
{
13.
alert(
14.
}
15.
}
16.
}
17.
18.
</script>
19.
20.
<input type=
"radio"
name=
"rdoReserve"
value=
"Used"
<% IF objRec.Fields(
"rdoReserve"
).Value =
"Used"
Then
%>Checked<%
End
IF%> OnClick=
"Check(this)"
>Used
21.
<input type=
"radio"
name=
"rdoReserve"
value=
"Free"
<% IF objRec.Fields(
"rdoReserve"
).Value =
"Free"
Then
%>Checked<%
End
IF%> OnClick=
"Check(this)"
>Free
22.
<input type=
"radio"
name=
"rdoReserve"
value=
"Reserve"
<% IF objRec.Fields(
"rdoReserve"
).Value =
"Reserve"
Then
%>Checked<%
End
IF%> OnClick=
"Check(this)"
>Reserve