Hi there,
I have this JavaScript which works really good with IE but not with firefox, how can I fix it to work with Firefox too?
Source:
Thanks very much.Code:<center><input type="submit" value="Upload!" type="submit" class="lstbox" id="upload" onclick="document.getElementById('text1').style.visibility= 'visible';"> <div id="text1" style="visibility:hidden;"> <p align="center"> <b><font size="4"> <marquee direction="right" scrolldelay="50" behavior="alternate">...</marquee></font>Uploading In Process...</b> <b><font size="4"> <marquee direction="right" scrolldelay="50" behavior="alternate">...</marquee></font></b></p> </center> <HEAD> <script type="text/javascript"> <!-- function confirmation() { var answer = confirm("Are you sure you want to cancel your upload?") if (answer){ alert("You have successfully cancelled your upload") window.location = "index.php"; } else{ alert("Your upload has not been cancelled and will be continued") } } //--> </script> <form> <input type="button" onclick="confirmation()" value="Cancel Your Upload?"> </div> </form>
Best Regards,
Private_Guy



Reply With Quote

Bookmarks