Skip to content

Instantly share code, notes, and snippets.

@web-zen
Created September 4, 2009 12:13
Show Gist options
  • Save web-zen/180849 to your computer and use it in GitHub Desktop.
Save web-zen/180849 to your computer and use it in GitHub Desktop.
function my_save(id, content){
$ourFileName = "testFile.txt";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fclose($ourFileHandle);
alert("Here is the content of the EditArea '"+ id +"' as received by the save callback function:\n"+content);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment