about confirm message box

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2005
Posts: 15
Reputation: ramareddy_dotne is an unknown quantity at this point 
Solved Threads: 0
ramareddy_dotne ramareddy_dotne is offline Offline
Newbie Poster

about confirm message box

 
0
  #1
Aug 2nd, 2005
In my application I allow my user to delete a transaction at extreme cases
only so I want to a confirmation msg from user whether he is sure to delete the transaction(Are you sure? yes or no).I know about "confirm" msgbox but I dont know how to use it please help me in this regard.

I want vbscript code :eek:
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 175
Reputation: Letscode is an unknown quantity at this point 
Solved Threads: 6
Letscode's Avatar
Letscode Letscode is offline Offline
Junior Poster

Re: about confirm message box

 
0
  #2
Aug 2nd, 2005
I dont have a VB script code.
You can do that in Javascript.Put this inside the Button Onclick event.

  1. if(confirm('Are you sure you wanna delete'))
  2. var A = window.location("Originalpage.aspx?delete=Yes");
  3. else var B = window.location("Originalpage.aspx?delete=No");

You can use a Query String and invoke a delete function.

Hope it helps
Save White Tiger
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC