|
-
Apr 4th, 2002, 02:50 AM
#1
Thread Starter
Addicted Member
Custom message
Hello,
Can I customize alert function in JavaScript to show buttons other than "ok". such as "yes and no" or "ok cancel" ...
-
Apr 4th, 2002, 07:56 AM
#2
Fanatic Member
Alert:
<SCRIPT LANGUAGE="JavaScript">
<!--
window.alert("Type your message here...")
// -->
</SCRIPT>
Prompt
<SCRIPT LANGUAGE="JavaScript">
<!--
var NAME = prompt("Type your message here...","")
//ACTION
")
// -->
</SCRIPT>
Confirm
<SCRIPT LANGUAGE="JavaScript">
<!--
if (!confirm(Type your message here...)){
//ACTION
}
// -->
</SCRIPT>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|