HN-Community
[ASK] Fungsi Close - Printable Version

+- HN-Community (https://hacker-newbie.org)
+-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html)
+--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html)
+---- Forum: Web Programing (https://hacker-newbie.org/forum-38.html)
+---- Thread: [ASK] Fungsi Close (/thread-13443.html)



[ASK] Fungsi Close - thronez.thru - 04-22-2012

assalam... CulasCulas
sesuai judul.....
ane mau tanya gan cara masukin fungsi close pada html.....
HantuHantu
saya mau taruh disini
Quote:<script type="text/javascript">
{
var r=confirm("buka file..?")
if (r==true)
{
alert(".. awas loe ....")
}
else
{
alert("makasih ....")
}
}
</script>

nah kalo tekan cancel jadi exit browser


gimana caranya ya kk....
mohon bantuan nya.... PiktorPiktorPiktor