i want to take the attendence of the students from database...if they once punch-in then i want to disable it upto clicking the punch-out button if browser 've been closed ! so how can i get it can pls anyone help me :) :))
ratanji
0
Light Poster
Recommended Answers
Jump to PostI think you may need to do some research on the Javascript onunload & onbeforeunload events. Maybe have them call an ajax function.
here is an example of the usage.
All 4 Replies
leviathan185
14
Junior Poster
Bachu
45
Newbie Poster
ratanji
0
Light Poster
leviathan185
14
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.