Welcome, Guest. Please login or register.

Author Topic: Membuat Jam Digital menggunakan Java  (Read 1930 times)

Offline Adi Sunardy

  • The man who sold the world
  • Administrator
  • Hero Member
  • *****
  • Posts: 595
  • Just an Ordinary Man

  • Activity
    0.4%
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.0.6 Firefox 3.0.6
    • sharing is caring
Membuat Jam Digital menggunakan Java
« on: March 13, 2009, 09:10:35 AM »
Mau buat jam digital pake Java? Berikut contoh suntingan codingnya. Semoga berguna... :)

Code: You are not allowed to view links. Register or Login
<TABLE BORDER=4 BGCOLOR=CYAN>
    <TR><TD>
<FORM NAME="clock_form">
    <INPUT TYPE=TEXT NAME="clock" SIZE=25>
</FORM>
<SCRIPT LANGUAGE="JavaScript">
    <!-- Hide from non JavaScript browsers
    function clockTick()
    {
currentTime = new Date();
document.clock_form.clock.value = " "+currentTime;
document.clock_form.clock.blur();
setTimeout("clockTick()", 1000);
    }
    clockTick();
    // End of clock -->
</SCRIPT>
    </TD></TR>
</TABLE>
Jabat Erat,


Adi Sunardy
You are not allowed to view links. Register or Login

 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Related Topics

  Subject / Started by Replies Last post
5 Replies
2390 Views
Last post April 12, 2009, 02:56:11 PM
by rogol script
0 Replies
220 Views
Last post August 25, 2010, 01:31:12 AM
by staff forum EUS
0 Replies
1346 Views
Last post March 25, 2011, 04:23:56 PM
by Adi Sunardy
0 Replies
198 Views
Last post September 17, 2011, 07:03:25 PM
by staff forum EUS
0 Replies
525 Views
Last post October 05, 2011, 07:08:30 PM
by staff forum EUS