Subj : [ URGENT ] JS error "missing ; before statement" To : netscape.public.mozilla.jseng From : hannes.edinger@gmx.at Date : Mon Sep 15 2003 09:45 pm hello! i'm using mozilla 1.4 for linux (the "official" precompiled release), and i've a problem with a small javascript which is supposed to be executed after the onclick-event of a checkbox. that's the part of the html-code where the error occures: [-- cut --] [-- cut --] and that's the error message displayed on the js-console: [-- cut --] Error: missing ; before statement this.form.0ae48c0f5f12c04250879948ad6679dc.value=(this.checked)?'1':'0'; [-- cut --] i don't really understand the meaning of this error, because there is only one single statement in this script, so why should a semicolon be missing? the html-code is server-generated and the routine which creates the checkbox and the hidden input is used in many other cases where the generated code works properly. the generated code always works pretty fine in other browsers. any suggestions how to handle that? regards, hannes .