Can I hidden the selected table row like this
or is't I have to use div class....If yes..how to call css property outside this page
Code:
<div style="display:none;" id="CheckCountry">
<tr><%
Set RS = Server.CreateObject ("ADODB.Recordset")
rs.Open "Select Region,StateDesc FROM tblState ORDER BY StateDesc", OBJdbConnection, 3, 3
%>
<td>Negeri Kelahiran</td>
<td colspan="3">:
<select id="State" name="State">
<option VALUE="N/A" SELECTED>--__________________--</option>
<%do while not rs.EOF
%>
<option value="<%=rs("Region")%>" <%if rs("Region")=session("Negeri_Kelahiran") then Response.Write("selected='Selected'")%>> <%=rs("StateDesc")%></option>
<%
rs.movenext
loop
rs.close
%>
</select></td>
</tr></div>
Comment