a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Detecting a change in a text box

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Detecting a change in a text box
Page: [1]
 
Wendy P

 

Posts: 17
From: Timmins, Ontario, Canada
Status: offline

 
Detecting a change in a text box - 6/27/2001 17:26:00   
Hi

Does anyone know how to make a change in one field (say set a text to '1') if the contents of another text box has changed?

Ie...when a user makes a change to data displayed in a text box, another text box is set to '1'

I don't care what they user has changed, I just want to know when a change takes place.

Thanks

Wendy

davebukouricz

 

Posts: 300
From: Ma None
Status: offline

 
RE: Detecting a change in a text box - 6/27/2001 18:40:00   
You could try this which will test the onchange event of the form.
Paste it into notepad, save as a .htm file and try it

<html>

<head>
</head>

<body>
<center>
<form name="Changeform">
<input type="text" name="caps" size=40 value="" onChange="javascript:Changeform.T1.value=1"><input type="text" name="T1" size="20">
<br>
<input type="button" value="Ok!">
</form>
</center>

</body>

</html>

[This message has been edited by davebukouricz (edited 06-27-2001).]


(in reply to Wendy P)
davebukouricz

 

Posts: 300
From: Ma None
Status: offline

 
RE: Detecting a change in a text box - 6/27/2001 20:40:00   
On further reflection, that's not going to work, as it will throw a 1 no matter what the input to the text box is. More research needed for this one

(in reply to Wendy P)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> ASP and Database >> Detecting a change in a text box
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts