|
-
Jan 9th, 2002, 12:17 PM
#1
saving text to file in javascript?
in javascript is there a way to save user added info (i.e. text) to the serverside webpages. Sort of like a logging script that tell the location, I can get the location; not the problem, of the users that have previously been there. This way other users can see where other users have come from...
Got it?
Thanks!
NOMAD
-
Jan 9th, 2002, 01:07 PM
#2
Frenzied Member
If they are submitting the page, then yes. Just have some hidden inputs in the form. Have the client-side script fill in the hidden inputs, and then have the server side whatever make the changes appropriately.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jan 9th, 2002, 01:28 PM
#3
Sounds good, sounds like what I'm tring to do.
But, I'm new to javascript. How would I actually do the saving to the server-side page. A code snip would be very helpful.
Thanks!
NOMAD
-
Jan 9th, 2002, 03:05 PM
#4
Frenzied Member
I've never messed with JavaSript server-side, so I don't know. You can check out developer.netscape.com or developer.mozilla.com. They should have doco on server-side JavaScript.
I was thinking you were doing something else server-side: ASP, PHP, CGI, JSP, et al.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jan 9th, 2002, 07:09 PM
#5
Thanks, I guess I could ty using ASP... heard its easy to learn. Thats for your help
-
Jan 9th, 2002, 07:48 PM
#6
PowerPoster
i don't think that server side JS has the capability by itself to do that.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|