[Javascript] log file

Muchacho, Laurent (TWIi London) LMuchacho at twii.net
Wed Jan 30 06:00:49 CST 2002


Hi 

When you make your loop throw the form request the type of the element then
if it's a select just found the one selected if it's radio found the one
checked 

you must reproduce the array your built with the way the form its built 
like that your first item in the array match the first item in the form and
etc
your array must only contains the value already submited to the database 

Laurent

-----Original Message-----
From: Scott.Wiseman [mailto:swiseman at remax-cahi.com]
Sent: 29 January 2002 18:50
To: 'javascript at LaTech.edu'
Subject: RE: [Javascript] log file


I like the array idea...

Can I search through the whole from...

what about drop downs, text boxes, radio buttons...this stuff
do I have multiple arrays or just one
that test each element on the form.

Scott

-----Original Message-----
From: Muchacho, Laurent (TWIi London) [mailto:LMuchacho at twii.net]
Sent: Tuesday, January 29, 2002 6:36 AM
To: 'javascript at LaTech.edu'
Subject: RE: [Javascript] log file


Hi 

All that solution will work if the user doesn't touch the form at all if it
click on one of the element but doesn't change the content the onblur or
onchange might fire anyway 
I suppose you populate your form with the value from the database using asp,
then you can simply built a small javascript array containing the value of
your form and if the user change something you can test it with the onblur
or onchange with the contenue of the array making a loop throw your form and
array in same time

Hope that might help 

Laurent




-----Original Message-----
From: Cutter Bl [mailto:cutterbl at hotmail.com]
Sent: 29 January 2002 13:35
To: javascript at LaTech.edu
Subject: Re: [Javascript] log file


Look at the onBlur event

Cutter
http://www.falcon-knives.com

----Original Message Follows----
From: "Scott.Wiseman" <swiseman at remax-cahi.com>
Reply-To: javascript at LaTech.edu
To: "'javascript at LaTech.edu'" <javascript at LaTech.edu>
Subject: [Javascript] log file
Date: Mon, 28 Jan 2002 17:14:36 -0800

I want to be able to see
what fields on my form has changed from user input.

no clue where to start

I will then use asp and sql to report the changes to a database. This part
I can do on my own.

But I don't know how to see the change in a text box or drop down field
..

Thanks,

Scott




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list