Hello Robert,
hmmmmm, what could that be. I have no idea about .asp, so it could come from that, or
not. I looked through the code again, trying to think up things that could do harm,
and have one line of code, which might be not 'right'.
theForm = window.document.konfig
maybe the way you uses it it doesn't get theForm defined? Try replacing it everywhere
with 'window.document.konfig'. And then, I saw there's no semicolon at the end of that
line either. Maybe that?
Try and tell me :-)
regards, J�rgen
Wednesday, August 13, 2003, 10:20:42 PM, you wrote:
> That's exactly what I want. I've copied it to my code and I get the
> following error when loading the page.
> 'theForm.PriceField1' is null or not an object.
> I've got the name of the text box PriceField1 and it's value is set to 0.
> The only thing I'm doing differently is I'm using this in .asp code and
> called a .js file which is where I've stored the javascript. I wouldn't
> think any of that would affect the way it runs. Any ideas?
> -----Original Message-----
> From: Jurgen Haug [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 12, 2003 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: [wdvltalk] RE: JavaScript question
> Hello Robert,
> Tuesday, August 12, 2003, 6:19:00 PM, you wrote:
>> Buying clothes online. There is a different price for 2XL, 3XL than for
> S,
>> M, L, XL. So I have setup radio buttons for each of the sizes. There is
> a
>> quantity text box with a default value of 1. There is a total text box
> with
>> no default value. When the user clicks a size I would like the total text
>> box to equal the sum of the size clicked * the quantity text box.
> http://www.safaribears.de/Test/T-Shirt.html
--
Regards,
Jurgen
Using The Bat! v1.63 Beta/11
http://www.ritlabs.com/the_bat/index.html
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]