Hello guys,
I have a html page inside a
jsp and im trying to populate it. ie i have time as below.
And similarly i have end time. Now im finding the difference between the start and end hour values and printing on the screen. The function is as below.
Simirlarly i've it for end time. and the difference function is as below.
Then i am printing the value inside the text box of html which's as follows.
so now everything works well except for 08 and 09 numbers. It will have the value but it will not return 0 when i try to print it using alert mess. So what might be the prob?? how to solve this? pleasehelp guys. Thanks in advance..