Scalar 2 User's Guide

Getting started with the Scalar API JavaScript library

This “hello world” example retrieves the node representing the home page of this User’s Guide and displays its title and content (view demo).
For a detailed explanation, follow the path below, or check out the API reference.

This page has paths:

  1. Scalar API JavaScript library Erik Loyer

Contents of this path:

  1. Including jQuery
  2. Including the Scalar API JavaScript library
  3. Set the current Scalar book
  4. Load the book’s index node
  5. Retrieve the node
  6. Display the node’s title
  7. Retrieve related nodes
  8. Display the number of related nodes

This page references: