Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by vmars316

  1. Ah , that helps a great deal ! Thanks...vm
  2. I see . Thanks . This one thru me :localStorage.myKey = 'myData'; Because myKey wasn't defined anywhere , and it seemed that since it is used as a literal , it should read localStorage."myKey" .That's an unexpected syntax for me . I'm not sure what you mean by "a multi-part KEY." That's what I thought I was showing you when I mentioned JSON, but perhaps it's not. By "multi-part KEY" I mean , the KEY is composed of ( "myDiary_" + TodaysDate ) , so KEY would look like : [myDiary_2013.01.28] . So , in my code , when user does a Click on [OpenToday'sPage] Button , I would check if there
  3. Thanks : It matters because I am trying to learn about the Beast called localStorage ."Why does it matter what the browser names the files?"Oh , that's new information to me "the browser names the files" ...Thanks And I also learned that :The browser (in my case Chrome Version 24.0.1312.52 m ) names the files according to what is the current/active site .For example when I issue a 'localStorage command' from here :http://www.w3schools...me=tryjs_eventsThe browser names the files : http_www.w3schools.com_0.localstorage http_www.w3schools.com_0.localstorage-journal and here : https_plus.
  4. Please see my initial Post .Thanks...vmars316
  5. When I use your code , it creates the following 2 files :__0.localstorage__0.localstorage-journal When I substitute your line : localStorage.test = JSON.stringify(obj);with mine : localStorage.setItem('myKey', 'myData');the code creates the following 2 files : https_plus.google.com_0.localstoragehttps_plus.google.com_0.localstorage-journal I was expecting the files created with my code to be named :myKey.localstoragemyKey.localstorage-journalWhy aren't they ? Like I said , I need to understand what KEY means ,& where does KEY show up ?Also, which file contains the KEY ?Also, which f
  6. Hello & Thanks ,I would like to write a myDiary script . But I am having trouble with the concept of KEY . Normally , when I think of a KEY , as applied to data ,I think of it as an Index pointing to something . Givens :TodaysDate="2013.01.27" .And "myDiary_" is a constant .Then of course there is a TextArea1 full of text . I would like to Create a Key for localStorage ,consisting of ( "myDiary_" + TodaysDate) . [ myDiary_2013.01.27 ]How would I do that with localStorage :localStorage.key=( "myDiary_" + TodaysDate) I plan to run script like this :Each time the user clicks on [New Ent
  7. Can the file being created be edited/built in a textArea .Or is it a separate window outside of browser ?Thanks...vm
  8. * Hello & Thanks , Is there such a thing as 'CrossPlatform Desktop PHP' ?Normally I program in HotBasic (freeware programs) .But I am interested in crossplatform . So it seems like javascript and php are quite platform independent . Today I noticed a Php-Gtk crossplatform opensource package .I would like to write programs that run in Browsers ( IE , chrome , firefox , etc. ) . And I need to use the FileSyatem , for *.txt files . I know IE's *.hta can do this , but it is for IE only .So I am looking for the smallest Desktop footprint possible , to develop php/html/javascript programs . And
  9. I am trying to Include an external file inside of HTML that will work as crossBrowser: I have come up with three methods of coding it, but only Chrome works for all 3 methods.Anyone know of different ways to do this ?Thanks...Vernon Including an external file inside of HTML: In the 3 methods below , for GoogleChrome, all Methods(1,2,3) work ,and all methods show search results. For InternetExplorer, all Methods(1,2,3) show something ,BUT ONLY 'Method 2' shows search results. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><hea
  10. That wasnt intentional, i copied from Jarte and into TinyEdit,and it ended as above.I'll try and Edit it...vm
  11. Ok, thanks: Here are a couple of methods I found for copy/paste clipboard: http://www.brighthub.com/internet/web-development/articles/24628.aspx http://www.dynamic-tools.net/toolbox/copyToClipboard/ http://www.rahulsingla.com/blog/2010/03/cross-browser-approach-to-copy-content-to-clipboard-with-javascript http://msdn.microsoft.com/en-us/library/ms535220(VS.85).aspx ...Vernon
  12. How about: 2) Or can it be copied to clipboard?3) Can I dump textArea into an email?4) Some other clientSide method. Thanks...vm
  13. Greetings,I would like to be able to save clientSide textArea contents to a file? 1) A *.txt file would be nice. 2) Or can it be copied to clipboard?3) Can I dump textArea into an email?4) Some other clientSide method. Thanks...Vernon
  • Create New...