I am trying to implement this:
I have a image button next to a variable/id..which when clicked will add this variable to the other part/section of the webpage. this is done with a function and it use location function to get the updated page after adding. Here is what I am trying to achieve is to show a msg(alert box??) saying that choice is added to the list and it works fine by taking them to the same updated page but I wanted to have a different look and feel for the alert box and tried that from this website(slayeroffice) and it seems to work fine if its just used alone but when I try to implement this along with the existing one and do it then the alert box doesn't wait for the user to click OK..it just shows the box and go to the updated page without even clicking. Please help me what I am doing wrong here or it would be great if there is any other way other than alert box to achieve this.
I thought of showing a div box once the updated page is shown saying "your choice is added to the list" and hide it after few seconds but I am not able to think of how to implement this with the existing function.