-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.htm
More file actions
40 lines (30 loc) · 763 Bytes
/
test.htm
File metadata and controls
40 lines (30 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<HTML>
<script>
function TestFile1()
{
var st1=document.form1.textmsg.value;
var strVal = embed1.write2file(st1+"\n");
alert(strVal);
}
</script>
<BODY>
<embed type="application/mozilla-npruntime-scriptable-plugin" id="pluginId">
<script>
var embed1 = document.getElementById('pluginId');
</script>
<form name="form1" method="post">
<center>
<br>
<p class="STYLE3">Firefox</p>
<p>---------------------------------------------------------------------------------------------------------------</p>
<br>
<br>
<br>
<input name="button" type=button onClick='TestFile1()' value="writefile()">writefile
<input type="text" name="textmsg" id="textmsg" value="yes, this is a test for plugins !\n" />
<br>
<br>
<br>
<br>
</BODY>
</HTML>