Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- function autoSaveEntry() {
- if($('#txtarea').val().length>0){
- $('#message').append('Text is saved');
- setTimeout(function () {
- $('#message').fadeOut(function(){
- });
- }, 3000);
- }
- setTimeout(autoSaveEntry, 60000)
- }
- </script>
- <div id="#message"></div>
- <textarea id="txtara"></textarea>
Add Comment
Please, Sign In to add comment