Backbone.JS View $(jQuery)

The Backbone.JS View $(jQuery) method is used as a selector. It contains $ function and runs queries within the view’s element.

Syntax:

View.$(selector)  

Parameters:
selector: This parameter is used to specify the type of selector such as, id or class.

Example:

  

  
Example  
  
  
  
  
  

Output:



Example