JavaScript Problem/Question
I've been trying to do a multiplication thing in JavaScript but can't seem to do it.
users.bigpond.com/Warlord_Khan/test3/salesinfo.htm
I've set the sheet out well and checked it all out and can't understand why it works for the first example but not for the second.
ROB posted this at 18:47 — 7th August 2002.
They have: 447 posts
Joined: Oct 1999
looks like it's working fine to me (in Mozilla/1.0)
did you get it sorted out?
Warlord Khan posted this at 18:50 — 7th August 2002.
They have: 35 posts
Joined: Aug 2001
try putting something in the quantity box to the right. It doesn't come up with anything.
Abhishek Reddy posted this at 05:05 — 8th August 2002.
He has: 3,348 posts
Joined: Jul 2001
I'm guessing it's because you don't have a for "get_data" before you open the "bget_data" form. "bget_data" is also unclosed.
As for the script, it looks right, although I suggest you rewrite it to reuse variables/id's. Right now, you have a confusing composite of reused and new variables.
Warlord Khan posted this at 15:06 — 8th August 2002.
They have: 35 posts
Joined: Aug 2001
ahh musta missed that when I organised it. cheers mate
Abhishek Reddy posted this at 07:13 — 9th August 2002.
He has: 3,348 posts
Joined: Jul 2001
No probs.
dk01 posted this at 17:49 — 16th August 2002.
He has: 516 posts
Joined: Mar 2002
I am getting a js error on the second object however the first one works fine.
-dk
Abhishek Reddy posted this at 00:17 — 17th August 2002.
He has: 3,348 posts
Joined: Jul 2001
That was the problem.
It doesn't look like he's updated the page...
dk01 posted this at 14:58 — 17th August 2002.
He has: 516 posts
Joined: Mar 2002
oh ok gotcha. thanks
-dk
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.