How do I tell Netbeans that a section of code is Javascript?

前端 未结 4 961
旧时难觅i
旧时难觅i 2021-01-23 04:11

I\'m using the Zend Framework\'s javascript helpers of the form:

headScript()->captureStart(); ?>
//Javascript here
h         


        
4条回答
  •  一向
    一向 (楼主)
    2021-01-23 04:53

    I was actually just reading about this yesterday in their blog:

    Their HTML in PHP parsing has been flaky, especially with indenting incorrectly short/alternate form code, but the latest nightly builds (I presume those after 201010060000) have improvements in that area. I haven't tried it yet but give it a shot.

提交回复
热议问题