Re: record names of 'clicked' form elements
by "Steve Cost" <scost(at)neo.rr.com>
|
Date: |
Mon, 24 Jul 2000 09:08:10 -0400 |
To: |
"Andrew Browne" <andrew(at)pbm.co.za>, <hwg-languages(at)hwg.org> |
References: |
ANDREW |
|
todo: View
Thread,
Original
|
|
If you're going to plug the form element names into a database, why not use
VBScript at the server? 'Course I'm assuming you're using ASP scripts, with
server-based database. Would just use something like:
If Request.Form("elementname1") <> "" (or If
Len(Request.Form("elementname1")>0), then rs.Fields("formelement1") =
"elementname1".
But maybe I'm way offbase with what you're doing.
--
Steve C
www.ReadersOpinions.com
-Why is it you must wait until night to call it a day?
----- Original Message -----
From: Andrew Browne <andrew(at)pbm.co.za>
To: <hwg-languages(at)hwg.org>
Sent: Monday, July 24, 2000 7:20 AM
Subject: record names of 'clicked' form elements
Hi all
Using JavaScript, I would like to record each HTML form element that a user
clicked on, and then save it into a database table. Can anyone tell me how
I to use JavaScript to record the name of each form element that was clicked
/ received focus?
Thanks
_____________
Andrew Browne
IT
658-6484
_____________
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA