Please assist me. I the code is set to alert when the clock reaches a certain time then alert which works.

The problem I am having how is each tick of time after the time the alert continues to popup.

Each day at the chosen time it should pop up just like an alarm clock.

// JavaScript Document

$(window).load(function (){
$("#submit").click(function () {	
var myVar=setInterval(function(){myTimer()},1000);
var c = 0.01;
var clock = "15:48:00";

function myTimer()
var d=new Date();
var t=d.toLocaleTimeString();

if(document.getElementById("time").innerHTML >= clock)
	alert("I got one more piece almost completed");


function callPow(){
   var val= document.getElementById("txt").value;
   var power= document.getElementById("txt2").value;