Ajax queue Backbone js

前端 未结 2 964
面向向阳花
面向向阳花 2021-01-11 18:08

I am running Backbone js 0.9.2 on Rails 3.2.2,I have a page for adding cost rows.A cost have 3 TextFields: title, description and price.

I am saving each cost on blu

2条回答
  •  北海茫月
    2021-01-11 18:32

    User debounce from underscore.js.

    Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked.

    This way it will only fire once after the last blur event.

提交回复
热议问题