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.
Created attachment 93862 [details] Screenshot Hello! When I put php tags into javascript associative array, editor show syntax errors. See screenshot in attachment.
Seems to be JavaScript problem...
*** Bug 183644 has been marked as a duplicate of this bug. ***
Created attachment 96861 [details] Exemple of file
It seem more like php problem. At least the error messages are coming from the php parser.
batch reassigning
Reproducible in NB 7.0.1.
I'm sorry for the last my comment. I have tried to debug and the message, that appears in the example file, are coming from js.
Seems to be JavaScript embedding problem.
Fixed in 7.3.
I have just installed NB 7.3.1 The bug is not fixed $('#selectorId').SomePlugin({ inline: true, calendars: 3, mode: 'range', <? if ($if_statement) {?> date: [c_from, c_to], current: new Date(c_to.getFullYear(), c_to.getMonth(), 1), <? } ?> onChange: function(dates,el) { some code here } });
Please share a complete file. This works fine for me in dev: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> </head> <body> <script> $('#selectorId').SomePlugin({ inline: true, calendars: 3, mode: 'range', <? if ($if_statement) {?> date: [c_from, c_to], current: new Date(c_to.getFullYear(), c_to.getMonth(), 1), <? } ?> onChange: function(dates,el) { } }); </script> </body> </html>