Browser Compatibility in JavaScript Files

You can choose which browsers you want to support with your JavaScript. The IDE strikes through code completion options that are not supported in the selected browsers.

To select the browsers you want to support:

  1. Open Tools > Options. (On Mac OS X choose NetBeans > Preferences.)
  2. Click the Miscellaneous icon. A page of tabs opens.
  3. Open the JavaScript tab.
  4. Select and deselect browsers and versions.

Note also that the documentation shows icons for every browser that supports the documented API element.


Legal Notices