NextGen Knowledge Center

Finding/Replacing Code in the JavaScript Editor

You can use the Context menu to find code, to find and replace certain found code, or to find and replace all found code.

  1. Navigate to the page that has the desired JavaScript Editor, and right-click / control+click in the Editor.
  2. On the Context menu, select Find/Replace.
  3. On the Find/Replace dialog > Find text field, enter the code string you want to replace (in this case, $co) .
  4. In the Replace with field, enter your replacement string (in this case, $c) .
  5. Configure other search filters as desired, and, depending on the situation, select the Replace button (to replace only the first incident of the string) or the Replace All button (to replace all incidents of the string).
  6. Select the Close button.