Displaying Message Box
Diposkan oleh
Ivan
Label:
Javascript
Here is a tutorial to show message box in javascript:
<HTML>
<HEAD>
<SCRIPT language="JavaScript">
function MsgBox_OkCancel()
{
var pesan;
pesan = confirm('Are your sure?');
if(pesan)
{
alert("Run your command");
}
}
</SCRIPT>
</HEAD>
<BODY>
<a href="javascript: MsgBox_OkCancel();">Klik Disini</a>
</BODY>
</HTML>
Good Luck...
By : Ivan
Subscribe to:
Post Comments (Atom)
:)) :)] ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} ~x( :-t b-( :-L x( =))
Post a Comment