The Backbone.JS Fetch() model is used to delegate sync() method in the model in order to accept the data from the server.
Syntax:
Model.Fetch( options)
Parameters:
options: This parameter is used to specify the options like name, id, etc.
Example:
Example
Output:
read: {"Subject":"Introduction","MSG":"HELLO WORLD!"}
Explanation:
The Fetch() model fetched the data from the server.