So I want to implement a sort of drafts feature, like how Gmail will save your written email in drafts before sending it and updates a few seconds every time after typing something. I want to update the database in a drafts table after every few keystrokes but I don't believe you can do jQuery to database as it's front-end, so I'm not sure how email services are able to do that. If that method isn't feasible, can I do a setinterval() around a callback function that updates database?
Submitted October 21, 2019 at 12:55AM by programmerbyday12345
No comments:
Post a Comment