I\'m using the Zend Framework\'s javascript helpers of the form:
headScript()->captureStart(); ?>
//Javascript here
h
From my knowledge this functionality is not yet implemented in the current version of NetBeans IDE that is 6.9.1. I can show you a workaround through which you can fool the NetBeans IDE to highlight the Javascript as a script section, and also keeps the PHP processor happy. It will look like following code snippet:
headScript()->captureStart(); ?>
headScript()->captureEnd(); ?>
I have tested this in NetBeans IDE 6.9.1