Beh non ho riportato l'esempio perchè non lo ritenevo valido e non credo che qualcuno voglia sbatterci la testa, non era mia intenzione chiedere aiuto sul codice in se, ma cercare magari qualche nuovo spunto.
Comunque il codice di riferimento è (ovviamente dovrebbe funzionare automaticamente, credo piazzando il behave_yaself in body onload)
codice:
<html xmlns:behave_yaself>
<head>
<title>Behaviors</title>
<script type="text/javascript">
function downloadEnd(e) {
var s=Array();
t='';
s=e.split('\n');
for(i=0;i<s.length;i++){
t+=s[i];
}
document.all.download.value=t;
}
</script>
<style type="text/css">
textarea {
background-color: #000;
color: #FFF;
scrollbar-face-color: #FFF;
}
</style>
</head>
<body>
<behave_yaself:download id="currFile" style="behavior:url(#default#download);" />
Click here
to start the download.
When the download is finished, the text will be displayed in the TEXTAREA below.
<textarea rows="20" cols="40" id="download"></textarea></p>
</body>
</html>
Sicuramente se si sistemasse la compatibilità potrebbe essere una buona idea usare questo