|
 |
javascript thread: Forms & OnChange
Message #1 by Scott Watermasysk <swatermasysk@C...> on Tue, 9 Jan 2001 09:20:46 -0500
|
|
I just bought the book a couple of days ago...and so far it is a very good
read and on top of that I just came across an article that that compared
VBScript & JScript and JScript was more than twice as fast as VB in every
category, so I am defiently go to spend some time on it in the very near
future. However, if you or someone else could put some code together it
would be greatly appreciated.
Thank,
Scott
-----Original Message-----
From: Gregory_Griffiths@c...
[mailto:Gregory_Griffiths@c...]
Sent: Tuesday, January 09, 2001 10:22 AM
To: javascript
Subject: [javascript] RE: Forms & OnChange
get hold of a book such as Javascript the Definitive Guide (O'Reilly)
and check out Forms, it gives instructions on how to dynamically update
form fields, so this should allow you to do it, If you need more I'll
put together some code.
> -----Original Message-----
> From: swatermasysk@C...
> [mailto:swatermasysk@C...]
> Sent: 09 January 2001 14:21
> To: javascript@p...
> Cc: swatermasysk@C...
> Subject: [javascript] Forms & OnChange
>
>
> Good Morning all...
>
> I know it is possible in Javascript to use the OnChange in a form.
>
> I want to ask someone to make a choice between A or B
> Then a choice between C or D
> And finally a choice between there two choices above.
>
> How do I dynamically generate this final choice?
>
> Really it will be about 4 levels deep. Is this going to be a problem?
>
> Here is some sample code:
> <form name="form1" method="post" action="select.asp" >
> What Do you like better Choice A or B
> <select name="select1" size="1">
> <option value="A">A</option>
> <option value="B">B</option>
> </select>
> <BR>
> What Do you like better Choice C or D
> <select name="select2" size="1">
> <option value="C">C</option>
> <option value="D">D</option>
> </select>
> <BR>
> From you choices above what do you like better
> <select name="select3" size="1" >
> <option value="AorB">A or B</option>
> <option value="CorD">C or D</option>
> </select>
> <input type="submit" name="Submit" value="Submit">
> </form>
>
> -Thanks,
> Scott
>
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to javascript as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-javascript-$subst('Recip.MemberIDChar')@p2p.wrox.com
|
|
 |