Hi all,
this is probably very simple for you but I'm not working with JS so I'm asking for help. I have php application and have one link linking to the script which erases some data from database. I want to avoid my users to click this link accidentaly so I'd like to display some messagebox containing the message "Do you really want to..." and the "yes" and "no" buttons. Which JS function call will do the job and how can I check the return value (whether the user clicked 'yes' or 'no')?
Any help will be appreciated.
this is probably very simple for you but I'm not working with JS so I'm asking for help. I have php application and have one link linking to the script which erases some data from database. I want to avoid my users to click this link accidentaly so I'd like to display some messagebox containing the message "Do you really want to..." and the "yes" and "no" buttons. Which JS function call will do the job and how can I check the return value (whether the user clicked 'yes' or 'no')?
Any help will be appreciated.