codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  pop up window  diego at 10:14 on Wednesday, September 17, 2003
 

<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

  Re: pop up window  Troy Wolf at 15:01 on Friday, September 19, 2003
 

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?
Troy Wolf: site expert
Shiny Solutions









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  XML- Passing parameters are Latitude and Longitude.
•  Re: Format Date time issue....
•  Re: How to freeze the web page when displaying progress bar?
•  Re: Help! IFrames!
•  Re: Help: Trouble with z-Index and SELECT lists
•  Re: HOW CREATE LINE CHARTS IN ASP.NET
•  How to store and retrieve document into database
•  Re: text field multiple
•  Re: after updation of a table open another program .. need help


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005