This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Commented Javascript is being flagged as error // var link = "http:rctBarcodeTrans.action?barcode=" + document.forms[0]["barcode"].value + // "&frDate=" + dojo.widget.byId("frDate").inputNode.value + // "&toDate=" + dojo.widget.byId("toDate").inputNode.value; // window.location = link; The reference to "frDate" must end with the ';' delimiter ...
I'm not able to reproduce it. Are you able to reproduce it again, or only when you comment out the lines? Thanks
Created attachment 112154 [details] Ignore this attachment. Errorneous Error happens on line 11
Comment on attachment 112154 [details] Ignore this attachment. Errorneous <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <script> function onlyBarcode() { var b = trim(document.forms[0]["barcode"].value); if (b == "") { return; } // var link = "http:rctBarcodeTrans.action?barcode=" + document.forms[0]["barcode"].value + // "&frDate=" + dojo.widget.byId("frDate").inputNode.value + // "&toDate=" + dojo.widget.byId("toDate").inputNode.value; // window.location = link; } for (var i = 0; i < applJsonObj.length; i++) { var s = applJsonObj[i] } </script> </head> </html>
Created attachment 112155 [details] Error happens on line 11 Trying the attachment again ...
Seems to be fixed for 7.3.