i'm trying to do the normal JavaScript popup confirmation window where the user clicks the button and the window pops to confirm that by the user either clicking yes or no. It works on a regular html form, but when i do a flash form the form doesn't load.
Here is the javascript:
<script type="text/javascript">
<!--
function confirmation() {
var answer = confirm("Leave tizag.com?")
if (answer){
//script for YES
}
else{
//script for NO
}
}
//-->
</script>
Then I place the confirmation() function into either the onclick or onsubmit function, but the flash form doesn't load. Thanks in advance for the help
Here is the javascript:
<script type="text/javascript">
<!--
function confirmation() {
var answer = confirm("Leave tizag.com?")
if (answer){
//script for YES
}
else{
//script for NO
}
}
//-->
</script>
Then I place the confirmation() function into either the onclick or onsubmit function, but the flash form doesn't load. Thanks in advance for the help