c ccc

Greenhorn
+ Follow
since Dec 23, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by c ccc

hi,

i need to have a way to detect the browser closing event, so I can invoke my servlet to update the database ( time the user spent for the application). i tried to use onunload to trigger the servlet, but, it actually triggers for the back button clicking, reload, and any link clickings as well. Is there a way, javascript can detect the close button clicking only?

thanks a lot.

cc
hi,

is there a way to dynamically allocate the size for the selection box? for example, when the user select a radio box with value 10, the selection box will have 10 options; when the user select a radio box with value 20, the selection box will have 20 options.

many thanks in advance and happy holidays.

ccc