How to delete a model in backbone

If you are pretty new to backbone.js like me, then you are the right place and If you are wondering how to delete a Model using backbone then
1. Create a Model first
2. Delete it using destroy method

//create a Cricket model   
var Cricket=Backbone.Model.extend({
          player:'sachin tendulkar'
     initialize: function(){
        alert('model started');
// Code to destroy cricket model
        success: function () {


I Am suresh(suresh kumar )a Web developer,Freelancer,webdesigner,UI developer from bangalore. Got 6+ yrs of IT experience . I specialize in standards-based XHTML, CSS and JavaScript web development. Each site I develop is built to be search engine friendly (SEO), using the latest development principles and techniques.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *