Description It validates the model and input provided by the user. If the input is invalid, it returns a specified error message or if the input is valid, it doesn’t specify anything and simply displays the result.Syntax:model.validate(attributes,options) Parameters:attributes − These attributes define the property of a model.options − It includes true as an option to validate the… Continue reading How to validate a model and the input provided by user using backbone js
Tag: Backbone.js
How can we use the object as DOM library using backbone.js
We can allow the Backbone to use an object as the DOM library.