The Backbone.JS View SetElement() method is used to specify the existing DOM element to a different DOM element.
Syntax:
View.SetElement (element)
Parameters:
element: This parameter is used to specify the element to be changed.
Example:
Example Enter any text:
Output:
Enter any text: