我的目標是一次多長時間用戶通過一堆頁面瀏覽(單頁上隱藏層)上所以我可以把時間記錄在mm:ss或者sss中。如何使用jQuery一次的行動之間需要多久的頁面(點擊按鈕之間秒錶)
我會從一個輸入按鈕,這應該啓動計時器開始,然後在上的隱藏的div 1另一個按鈕,點擊它會停止計時器。
結束目標將是具有相同的第3個定時器和它必須通過jQuery否則瓦特/電子之間可以被點擊2個不同的按鈕被用於時間。
我知道如何能在控制器來完成,但我需要收集3周獨立的時間和不能擁有它被超過3個獨立的動作完成/ DB撲救。
到目前爲止,所有我發現是參考你在已經設置就可以了一段時間,然後充當倒計時,而不是一個秒錶。
任何幫助將不勝感激。