Metachecker.net
|
FontsMadeEasy.com
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Alert & Confirm
Here is a JavaScript confirm message that has variable responses. Basically, the response they get depends on what the user enters.
Or....
Confirm & Alert
Insert into <HEAD>
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function askData() { var inputedData = prompt ("type something!", "" ); if (confirm("Are you sure you typed "+inputedData+"?")) { alert ("Ok, you did type "+inputedData+"!"); } else { alert ("No, you did not type "+inputedData+", did you? OK. Guess ya did."); } } // End --> </SCRIPT>
Insert into <BODY>
<CENTER> <FORM> <input type=button value="Confirm (Alert)" onClick="askData()"> </FORM> <!-- Or another method... --><BR>Or....<BR> <A HREF="" onMouseover="askData()">Confirm & Alert</A> </CENTER>
Other Options