We have an option to select a radio button that will hide one div and show another div if clicked. The client wants to add a warning that tells the end user that the data won't be saved in the hidden div.
The code is attached - but what I need to do is if the person clicks cancel, nothing happens and if it if does, the div hides. I tried moving the message code to the beginning and the cancel worked but the "oK" didn't, the div didn't hide.
showhide('#SL#_#GL#s'); showhide2('#SL#_#GL#d');GP_popupConfirmMsg('If you have values in the Detail section of #GL#, they will not be saved if Express mode is selected on save.');return document.MM_returnValue;