Enviado em 21/09/2017 - 08:23h
Olá Pessoal !
Pretendo criar uma interface WEB para criar Formulários:
PERGUNTA:
Esse código abaixo tem como modificar para escrever uma saida(textarea conteudo) em um arquivo de texto ?
Se não for possível criar arquivo de texto em HTML acho que vou recorrer mesmo a C.
OBS: Quero usar apenas API WEB(HTML, CSS e JavaScript).
OBS2: Ou poderia ser usando o NodeWebKit.
<!DOCTYPE html>
<html>
<body>
<button onclick='SaveText()'>Save Text</button>
<textarea id="my_editor" style="width:320px; height:240px;">
//
// testando ...
//
win = os_NewWidow();
</textarea>
<script>
function SaveText(){
alert ("Clicando no botao: Save Text");
}
</script>
</body>
</html>
Pretendo criar uma interface WEB para criar Formulários:
PERGUNTA:
Esse código abaixo tem como modificar para escrever uma saida(textarea conteudo) em um arquivo de texto ?
Se não for possível criar arquivo de texto em HTML acho que vou recorrer mesmo a C.
OBS: Quero usar apenas API WEB(HTML, CSS e JavaScript).
OBS2: Ou poderia ser usando o NodeWebKit.
<!DOCTYPE html>
<html>
<body>
<button onclick='SaveText()'>Save Text</button>
<textarea id="my_editor" style="width:320px; height:240px;">
//
// testando ...
//
win = os_NewWidow();
</textarea>
<script>
function SaveText(){
alert ("Clicando no botao: Save Text");
}
</script>
</body>
</html>