Hi All,
I'm new to this community, please help in this ...
[B]do while not rst.eof
i=0
End if
blnOdd = Not(blnOdd)
colName = UCase(colName)
do while (i < rst.fields.count)
if (rst.Fields.Item(i).Name = colName ) then
ValueSelected(j)=rst(i)
selectedName="val"& j
Response.write("<td align='center'><B><a href= ""#"" onClick=""return returnSingleValue(this,window.opener.document." & frm & "." & field & ","&ValueSelected(j)&")"" id='"& selectedName &"' name='"& selectedName &"' value="& ValueSelected(j) &" >"&rst(i)&"</a></B></td><td align='center'>val"&j&"<input type='Checkbox' id='chk"&j&"' name='chk"&j&"' value=""ON"">chk" & j & "</td>")
End If
i = i+1
loop
Response.Write("</tr>")
rst.movenext
j=j+1
Redim Preserve ValueSelected(j)
loop[/B]
returnSingleValue() is a Javascript function, from this function I need to access all the dynamic href values in the form.
HOw do I do this ?
I tried many options, but it didnt work out..
Thanks in advance!!!