This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
we are designing timesheet management system.in that we have to calculate hours given by user ..
we done something but its not working properly...i will not calculate hours when starthours and endhours are same.
please help me
var startworkhours = document.getElementById("firsthourstart").value;
var startworkminutes = document.getElementById("firstminutestart").value;
var endworkhours = document.getElementById("firsthourend").value;
var endworkminutes = document.getElementById("firstminuteend").value;