看板 Ajax 關於我們 聯絡資訊
※ 引述《WLittleWA (小哇)》之銘言: : 我想研究的是像gmail寫信時 : 固定幾分鐘就會自動儲存成草稿 : (某些部落格文章編輯也有同樣的功能) : 有些問題想請教一下前輩 : 1. 是不是使用 javascript 在背後將欄位內的value寫進資料庫裡 : 2. 固定幾分鐘執行這是如何實做的 : 還是我誤解了,是非固定時間和其他動作觸發儲存的動作? setTimeOut可以做定期的排成 寫function用這個跑遞回就可以達到你說的效果了 主要的 controler 一定是Javascript, 至於要怎麼做,就參考一下板上關於httprequest的討論吧。XD : 3. 有推薦的相關資料可以看嗎?或是哪個library比較好用? : 希望有前輩能給我一個方向,謝謝!!!! -- String temp="relax"; | Life just like programing while(buringlife) String.forgot(temp); | to be right or wrong while(sleeping) brain.setMemoryOut(); | need not to say stack.push(life.running); | the complier will stack.push(scouting.buck()); | answer your life stack.push(bowling.practice()); | Bone everything -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.134.27.68
WLittleWA:感謝~~~~ 03/08 23:35