AJAX Autosave functionality

前端 未结 8 1669
旧巷少年郎
旧巷少年郎 2020-12-07 09:54

What\'s the best javascript library, or plugin or extension to a library, that has implemented autosaving functionality?

The specific need is to be able to \'save\'

8条回答
  •  孤街浪徒
    2020-12-07 10:30

    synchronize is a jquery plugin that adds functionality to your html page to periodically automatically send user input back to the server. (source code)

    JavaScript and HTML sample:

    
    
    
    

    resulting ajax request after the default delay of 1s:

    http://localhost/entity.cfc?method=updateDescription&value=update_value&preVal=initial_value&ID1=1&ID2=2
    

提交回复
热议问题