A
Al Reynolds
Afternoon,
I have just finished fixing one of my scripts after it started
generating odd errors on IE6 on WinXP Service Pack 2.
For info, the IE Version is:
6.0.2900.2180.xpsp_sp2_rtm.040803-2158
I have done all the Windows critical updates. I haven't
managed to replicate the behaviour in any other browser.
I have tested the faulty version in Netscape 4.7x, IE 5
and Opera 7 and it works fine in all three.
The two files are here:
http://www.exeter.ac.uk/cimt/mepres/book8/bk8i1/bk8_1i2.htm (works)
http://www.exeter.ac.uk/cimt/mepres/book8/bk8i1/bk8_1i2_faulty.htm
(faulty)
There is only *one* difference between the two files in line 29.
To make it work, I had to change:
inputbox.value = numq+ag-cw-cc;
to:
inputbox.value = numq+(ag)-(cw)-(cc);
In the faulty version, the page generates two errors while
downloading:
(i) Line 33 Char 16 Expected ')'
(ii) Line 1076 Char 19 Expected ';'
Line 33 is "pc = ((cc*100)+extra)/numq;"
Line 1076 is "tands = 'Y8 Unit '+unit+' Section '+section;"
In these lines, chars 16 and 19 are both "+" signs.
Now I cannot work out for the life of me what the problem is!
Anyone have any ideas?
Al
I have just finished fixing one of my scripts after it started
generating odd errors on IE6 on WinXP Service Pack 2.
For info, the IE Version is:
6.0.2900.2180.xpsp_sp2_rtm.040803-2158
I have done all the Windows critical updates. I haven't
managed to replicate the behaviour in any other browser.
I have tested the faulty version in Netscape 4.7x, IE 5
and Opera 7 and it works fine in all three.
The two files are here:
http://www.exeter.ac.uk/cimt/mepres/book8/bk8i1/bk8_1i2.htm (works)
http://www.exeter.ac.uk/cimt/mepres/book8/bk8i1/bk8_1i2_faulty.htm
(faulty)
There is only *one* difference between the two files in line 29.
To make it work, I had to change:
inputbox.value = numq+ag-cw-cc;
to:
inputbox.value = numq+(ag)-(cw)-(cc);
In the faulty version, the page generates two errors while
downloading:
(i) Line 33 Char 16 Expected ')'
(ii) Line 1076 Char 19 Expected ';'
Line 33 is "pc = ((cc*100)+extra)/numq;"
Line 1076 is "tands = 'Y8 Unit '+unit+' Section '+section;"
In these lines, chars 16 and 19 are both "+" signs.
Now I cannot work out for the life of me what the problem is!
Anyone have any ideas?
Al