FORM METHOD="GET" Demo
Bean
Posts: 8,129
Here is a simple spin program that allows you to get data from the user by using a FORM.
Comments welcome.
Bean
Comments welcome.
Bean
Comments
This will enable text editing of the files via a browser (see pic)
If that's not clear, basically when the page loads, I want the cursor to be in the form entry box so that the user doesn't have to manually move the cursor there before typing in a command.
-jim-
<!-- window.document.KILLERROBOTS.TEXTBOXNAMEGOESHERE.focus(); //-->
</SCRIPT> Have not tested this on Spinneret yet.
It seems as though i saw something about this awhile back, but, when i run this code for a long period of time, it freezes. Any Ideas?
From my experience, lockups were due to bugs in my code. The best thing to do is log all HTTP requests so you can see what was going on at the time of the error.
Post your source!
AAP WEBSERVER - Archive [Date 2011.07.04 Time 13.08].zip
Your code was timely for a Perl application I was working on, thanks!
In some security sensitive applications it might be a good idea to include autocomplete='off' after the <FORM header. i.e. in your example change...
"<FORM METHOD=", QUOTE, "GET", QUOTE, ">"
...to ...
"<FORM autocomplete='off' METHOD='GET'>"
Notice above, you can replace...
"<FORM METHOD=", QUOTE, "GET", QUOTE, ">"
...with...
"<FORM METHOD='GET'>"
...just change the double quotes to single quotes within the main string quotes