NetTalk Central
		NetTalk Web Server => Web Server - Ask For Help => Topic started by: Bram Klootwijk on July 16, 2007, 03:37:19 AM
		
			
			- 
				Hi,
 
 i need a yes/no answer from a user for deleting a record. How can i retrieve the true/false value of a send javascript?
 
 I use this code:
 packet = clip(packet) & '<script>window.confirm(<39>Are you sure to delete this address?<39>)</script>'
 
 
 Or is there another way of getting a yes/no answer from a popup-dialog?
 
 
 Greetings,
 Bram
- 
				Hi Bram,
 
 The answer to this is non-trivial. It is in fact quite complicated to do this sort of thing.
 
 I presume you are not deleting from a browse? 'Cause there is already a popup that happens there...
 
 Cheers
 Bruce
 
- 
				Hi Bruce,
 
 it was for a memory form with some special treatment. I converted it to a "normal" file form and used the standard delete-button.
 
 Thanx,
 
 Bram