Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 13th, 2004, 04:00 AM
Registered User
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Hal Emmerich
Default Write a document to the server

I have a really idiotic question... I need to run two actions on one form... AND on the second action, write the data from the form to a document on the server. Can this be done in Javascript? If necessary i will provide a copy of the source of the page in question.

Old November 13th, 2004, 07:15 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

Where does the first action take place, on the client or the server?

You can post the document to the server, the server will need code to receive the document and save it. You cannot save directly to a web server with entirely client side code.


Joe (Microsoft MVP - XML)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Write a XML Document using java. vinitpugaliya XML 0 January 8th, 2007 06:26 AM
Document.write hussainm Javascript How-To 2 July 12th, 2006 05:20 AM
Write Nested XML document into SQL Server tables boondocksaint20 VB.NET 0 May 2nd, 2006 12:35 PM
document.write into cell or td with Opera crmpicco Javascript How-To 0 April 11th, 2006 04:58 AM
write() without clearing old document Snib Javascript How-To 4 January 21st, 2004 04:28 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.