On Tue, 17 Feb 2004 11:55:05 -0600, John C
<Jo***********@mail.forum4designers.com> wrote:
I tried your code but ran into an error. I copied the code as you had
given it and it seems to run fine but as soon as you select an option
from either <select> menu it flags an error that says:
A Runtime error has occurred.
Line 7:
Error: 'time.value' is null or not an object.
Any suggestions? The code I entered is as follows;
[snip]
<form name="sponsor" method="post">
<select name="rate" onchange="updatePrice(this.form)">
<Option value="n/a">Choose Sponsorship</option>
[...] </select>
<select name="rate" onchange="updatePrice(this.form)">
Should be: name="time"
<Option value="n/a">Choose Ad Period</option>
[...] </select>
If you notice above, you changed the name of the second select element so
that it is the same as the first. Change it to "time" and there should be
no problems.
On an unrelated subject, you should really look into using a Usenet
service that is not Forum4Designers. Not only did they used to claim that
all material was theirs, when it actually belonged to the public medium
that is Usenet, they still do censor posts (complaints made in this group,
comp.lang.javascript, towards Forum4Designers have been deleted) and
destroy the formatting of posts. The code that I gave to you had actually
been indented to make it more readable, but their system condenses it to a
left-aligned mess. It has also been made clear recently that they do not
follow the posting standards that have been defined for sending messages
to Usenet. All three of your previous replies (1 to KC Wong, 2 to me) have
not been threaded by my newsreader due to badly constructed headers. I
also have three other replies from you that have no content, just a
quoting of the previous posts. This again is due to Forum4Designers' poor
design.
I would advise you to see if your ISP provides access to Usenet, and if
available, I would encourage you to use it. If not, use a better service
like Google Groups.
Mike
--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)