Jump to content


Collect form data using js

  • Please log in to reply
2 replies to this topic

#1 Wuhtzu

  • Members
  • PipPipPip
  • Advanced Member
  • 702 posts
  • LocationDenmark -> Fyn -> Aarup

Posted 30 October 2006 - 01:46 AM


I would like to collect the data from a <input> field and write it to a file using js -> is it possible and would anyone be so kind to help me?

Best regards
Feel free to correct me if I'm wrong.

Servage.net: Get 25 Gb of extra storeage by using this coupon code when buying their hosting service - http://www.servage.n...oupon=cust42005

#2 brendandonhue

  • Members
  • PipPipPip
  • Advanced Member
  • 65 posts

Posted 30 October 2006 - 02:13 AM

No, clientside javascript isn't able to write to files.

#3 fenway

  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 30 October 2006 - 05:18 PM

Collecting the input is possible; accessing the client's file system is restricted, and requires ActiveX controls.  Of course, you could just dump it into a cookie a read it from there....
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users