Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Pop-up window


Message #1 by "Valentino Osterwalder" <valentino@t...> on Thu, 22 Nov 2001 20:47:19
In my table there is checkbox which I recall in my ASP script. Before 

sending the amendments of he record to the server I would like to set the 

value of the checkbox. In order to do that I want to open a window with 

two buttons (YES and NO) and depending on the answer set the field to TRUE 

or FALSE. By clicking to either YES or NO the Pop-up window will be closed 

and the script, with the amended record, checkfield included, sent to the 

server and update the table.



Does anybody can help me explaining how to open a pop-up window? Many 

thanks!



Valentino
Message #2 by "Philip Sayers" <philipsayers@m...> on Thu, 22 Nov 2001 16:05:52 -0500
Response.write out some javascript



www.irt.org

goto javascript FAQ's then choose the windows subcategory







-----Original Message-----

From: Valentino Osterwalder [mailto:valentino@t...]

Sent: Thursday, November 22, 2001 8:47 PM

To: ASP Databases

Subject: [asp_databases] Pop-up window



In my table there is checkbox which I recall in my ASP script. Before

sending the amendments of he record to the server I would like to set

the

value of the checkbox. In order to do that I want to open a window with

two buttons (YES and NO) and depending on the answer set the field to

TRUE

or FALSE. By clicking to either YES or NO the Pop-up window will be

closed

and the script, with the amended record, checkfield included, sent to

the

server and update the table.



Does anybody can help me explaining how to open a pop-up window? Many

thanks!



Valentino





philipsayers@m...


$subst('Email.Unsub')





Message #3 by "Drew, Ron" <RDrew@B...> on Mon, 26 Nov 2001 13:28:07 -0500
<script language="javascript">

  ans = window.confirm("Update the Record??");

  if (ans == true)

    document.write('OK was pressed');

  else

    document.write('Cancel was pressed');

</script>



-----Original Message-----

From: Valentino Osterwalder [mailto:valentino@t...] 

Sent: Thursday, November 22, 2001 3:47 PM

To: ASP Databases

Subject: [asp_databases] Pop-up window





In my table there is checkbox which I recall in my ASP script. Before 

sending the amendments of he record to the server I would like to set the 

value of the checkbox. In order to do that I want to open a window with 

two buttons (YES and NO) and depending on the answer set the field to TRUE 

or FALSE. By clicking to either YES or NO the Pop-up window will be closed 

and the script, with the amended record, checkfield included, sent to the 

server and update the table.



Does anybody can help me explaining how to open a pop-up window? Many 

thanks!



Valentino

 

---

You are currently subscribed to asp_databases as: RDrew@B... To

unsubscribe send a blank email to $subst('Email.Unsub')


  Return to Index