|
<form action="/forum/result_leave.html" method="post" >
set rs = server.createobject("ADODB.Recordset")
sql="Select * from LOAForms where ReferenceNO="& leaveID
rs.Open sql, conn,3,3
if not rs.eof then
do
<input type="checkbox" name="delitem" value="<%=rs("ReferenceNO")%>" >
<br>
<%=rs("ReferenceDate")%>
<br>
<%=rs("LeavType")%>
<br>
<%=rs("StartDate")%>
<br>
<%=rs("EndDate")%>
<br>
rs.movenext
loop until rs.eof
end if
rs.close
set rs = nothing
<br>
<input type="submit" name="btntype" value="Approve" >
<br>
<input type="submit" name="btntype" value="Disapprove">
</form>
somebody help me!
if i click the btntype(disapprove), pop.asp (pop up window) will open, ReferenceNo will also
pass to pop.asp and input the reason why he want to disapprove and submit the button and
update the table.
my question is
1. what if i click 2 checkboxes, the value of checkboxes which is more than 2 ReferenceNo will also
pass to pop.asp, so that i can get the referenceNo(unique ID) to update the table.
pls. help
thanks
|
|
|
Diego, you didn't actually ask a question. Are you wanting to know how to pass the value of 2 checkboxes to your popup window instead of just one checkbox? If so, you left out the most important part of your code -- the section that passes values to the popup.
Sorry for the confusion. What specifically are you asking or what exactly do you want to do?
|
|
|
|
|
|
|
|
|
|