javascript popup ok cancel button

 

 

 

 

Javascript provides a few popup boxes to interact with the user.A confirmation box will appear will with an "OK" button and a "Cancel" button. Different actions will occur depending on what button the user clicks. I wrote javascript for confirm popup like below: var answer confirm ("Are you sure you want to delete this item ?") It is showing OK Cancel button popup , but I want to display Yes No buttons on popup insted of OK Cancel buttons this code shows you that how you can open a new popup window of users given file path. Using this code it will also explore the window of your given path for folder.