[Javascript] firing submit event

Scott.Wiseman swiseman at remax-cahi.com
Thu Aug 9 17:22:27 CDT 2001


forgot
have a table
first name
last name
record id
REASON=======(start the day,break,back from break,end my day)
timestamp = getdate() by default
employee number
ETC....



-----Original Message-----
From: Scott.Wiseman [mailto:swiseman at remax-cahi.com]
Sent: Thursday, August 09, 2001 3:18 PM
To: 'javascript at LaTech.edu'
Subject: RE: [Javascript] firing submit event


have a table
first name
last name
record id
timestamp = getdate() by default
employee number
ETC....

then just call it from your page
have a drop down
	start the day
	break
	back from break
	end my day

you should have a few records for each person.

start the day
break time
back from break time
end my day

then you can do reports

at what time does the office take a break
individuals
when does the west wing come in
the east wing
etc...

use your imagination

make it a stored procedure
so it is n-tiered.


regards,

ScottmWiseman.com
(work for hire)




-----Original Message-----
From: Todd Andrew Love [mailto:todd at imedia-inc.com]
Sent: Monday, July 09, 2001 3:05 PM
To: javascript at LaTech.edu
Subject: [Javascript] firing submit event


Hello all,
    I'd like to ask the advice of this wonderful list. I am using a bar code
scanner and would like to automatically fire the form submit event when the
bar code is finished scanning. Anyone know of a way to do this? It can be IE
only.

I've tried firing it on the "onkeyup" event, but it submits the form
multiple times (one for each character in the bar code). It looks like it is
working, but it's actually submitting multiple times. I need 1 submit, this
is a must.

I've tried "onChange", but you have to click outside of the field to fire
it.

Anyone know of an event to fire when the length of a field = a certain # of
characters?

What I'm creating is an employee "timeclock" where they "sign" in and out.
So, it checks against a db to make sure their last access was the opposite
of what they're doing now (in vs. out etc).

Any ideas would be appreciated.

Thanks!
Todd

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list