I started to learn java script. But before then I studied and mastered php to an extent, that I have decided to learn java script also. In php, there is this thing I tried, file writing kindly take a look at this simple source I wrote $name= $_POST['name']; $email= $_POST['email]; $file = fopen("textfile.text","r"); $info = "Name: $name\n Email : $email\n"; fwrite($file,$info); fclose($file); Now this simple code is suppose to save the information to a text file, now suppose I want to do this sort of thing in java script, how do I go about it? In this case am trying to write data to an asp file (say "details.asp") and not to a text file. Just very interested to know the whereabouts and how I can work on them.