its very hard for me to analyzed the project were i dont have knowledge of javascript please help. i have a project for trucking a member how long they are use the thing that they are borrowed... then when the user is time automatic the script will popup "your time is up" those who are interested just chat me at for more information.... # <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> # <html xmlns="http://www.w3.org/1999/xhtml"> # <head> # <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> # <title>Untitled Document</title> # </head> # <form name="Tick"> # Start Time:<input type="text" size="11" name="" value="10:30:00"/>(I want this time to be fix from database)<br /><br /> # Use Time: <input type="text" size="11" name="Clock1" value=""/>(I want this to be display the current running use time when the browser is open)<br /><br /> # End Time: <input type="text" size="11" value="11:30:00"/>(I want this to be fix also fro database)<br /><br /> # Remaining Time: <input type="text" size="11" name="Clock1" value=""/>(I want this to be display as currently running when the browser is open)<br /><br /> # Total Time:<input type="text" size="11" name="" value="1hr"/> # </form> # <script> # <!-- # function show(){ # var Digital=new Date() # var hours=Digital.getHours() # var minutes=Digital.getMinutes() # var seconds=Digital.getSeconds() # var dn="AM" # if (hours>12){ # dn="PM" # hours=hours-12 # } # if (hours==0) # hours=12 # if (minutes<=9) # minutes="0"+minutes # if (seconds<=9) # seconds="0"+seconds # document.Tick.Clock1.value=hours+":"+minutes+":"+seconds+" "+dn # document.Tick.Clock2.value=hours+":"+minutes+":"+seconds+" "+dn # document.Tick.Clock3.value=hours+":"+minutes+":"+seconds+" "+dn # document.Tick.Clock4.value=hours+":"+minutes+":"+seconds+" "+dn # setTimeout("show()",1000) # } # show() # //--> # </script> # # <body> # </body> # </html>