M
Matthew Crouch
As noted before, I'm not a JS programmer, but I ought to be able to get
a couple simple things done with it and now I've spent two weeks on them.
Main reasons:
- seems like JS is all-or-nothing. When I have a bug, the entire page is
blank.
- javascript console isn't outputting anything, so my current method of
finding bugs is to comment out every line in the script until i find the
one that makes the screen go blank. This was fun the first couple times,
but no longer.
So could anyone answer:
-what kind(s) of error make it so that JS won't compile. In my example
problem below this line:
options_total = +form.options_total.value;
results in a blank screen. as does
options_total = +document.form.options_total.value;
I find this surprising. If those ref's are no good, or the values are
blank, or not strings, I can fix that. But why would my whole interface
just not appear?
-Old versions of IE that I used would show an exclamation point in the
bottom-left, and you could read details on JS errors. This isn't
appearing. And in firefox, the Javascript Console isn't outputting
anything. Not even if I include the line:
I'm fat;
Really
a couple simple things done with it and now I've spent two weeks on them.
Main reasons:
- seems like JS is all-or-nothing. When I have a bug, the entire page is
blank.
- javascript console isn't outputting anything, so my current method of
finding bugs is to comment out every line in the script until i find the
one that makes the screen go blank. This was fun the first couple times,
but no longer.
So could anyone answer:
-what kind(s) of error make it so that JS won't compile. In my example
problem below this line:
options_total = +form.options_total.value;
results in a blank screen. as does
options_total = +document.form.options_total.value;
I find this surprising. If those ref's are no good, or the values are
blank, or not strings, I can fix that. But why would my whole interface
just not appear?
-Old versions of IE that I used would show an exclamation point in the
bottom-left, and you could read details on JS errors. This isn't
appearing. And in firefox, the Javascript Console isn't outputting
anything. Not even if I include the line:
I'm fat;
Really