i m using a select box of country, when user select a country then add branch link appears and user add branches under that country, but when user want to change country then al
Below solution worked for me. First of all onfocus is called. This event keeps the current value in a attribute "PrvSelectedValue". Secondly onchange is called, we set the previous value if user cancel the confirmation popup.return false is used to prevent the postback in ASP.NET.