You are executing JavaScript code, so you are getting JavaScript
errors, Java has nothing to do with it.
> Line: 15
> Char: 7
> Error: Wrong number of arguments or invalid propert assignment
> When it says "line 15" or "line 46" , is that really the 15'th and
> 46'th line of "liveview.html" ???

Yes, counting the first line from <html> tag and accounting all blank
lines (if any)
> What is "Char" referring to?

Abbreviation of "Character at position:", nothing to do with Char data
type (moreover JavaScript doesn't have such type).

Line 15 (by above counting rules) will be:
> else SQ.mdpc = 0;

As I don't see SQ declared anywhere, it is resolved to undefined, so
you are trying to assign new property to undefined value. Even
JavaScript doesn't tolerate such tortures ;-)

So what is SQ and where is it?

P.S. Is it new style in Java to omit block parenthesis?
if (condition) {
//do this
}
else {
//do that
}
looks so much more beautiful IMHO

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!