Aprogram checks a variable's value and has to abort the process if the value is ''FC. The same page should be displayed to let a user to change the value. How to do it? My program continues excution afte an alert box is closed
<script>
function savedata()
{
<cfoutput>
mytopic=document.header.topic_list.options[document.header.topic_list.selectedIndex].value;</cfoutput>
if(mytopic=='FC')
alert(mytopic)
alert("Please choose topic code.");
}
</script>
(Embedded image moved to file: pic32591.pcx)
pic32591.pcx
Description: Binary data
