Hi All I have been using localStorage extensively in my TW work, but cant seem to get access to the data from within html forms....for eample...why doesnt this simple bit of code set the localStorage item "test"?? (the wikify at the end is just to check if test got set.)
<script> function testResults (form) { var TestVar = form.inputbox.value; var test=localStorage.setItem("test",TestVar); } </script> <html> <form name="myform" action="" method="GET">Enter something in the box: <BR> <INPUT TYPE="text" NAME="inputbox" VALUE=""> <INPUT TYPE="button" NAME="button" Value="Click" onClick="testResults(this.form)"> </FORM> </html> <<wikify {{localStorage.getItem("test")}}>> Thanks in Advance Skye -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.