Javascript-Button Alert


cara membuat button alert menggunakan javascript.

copy source code dibawah ke <body>

<form>
<input type=”button” value=”message” onClick=”alert(‘this is the message’); return true”>
</form>

download source code disini

Iklan

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s