aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/conflicting/web/api/htmlinputelement
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:29:51 +0100
committerGitHub <noreply@github.com>2021-02-11 18:29:51 +0100
commit2bc5610921312613f8623f7ed347aa576689b2b6 (patch)
treef17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/conflicting/web/api/htmlinputelement
parent964decad361766e85d928a56f0ab80af0e75c172 (diff)
parentfc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff)
downloadtranslated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/conflicting/web/api/htmlinputelement')
-rw-r--r--files/zh-cn/conflicting/web/api/htmlinputelement/index.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/files/zh-cn/conflicting/web/api/htmlinputelement/index.html b/files/zh-cn/conflicting/web/api/htmlinputelement/index.html
new file mode 100644
index 0000000000..82a91a1271
--- /dev/null
+++ b/files/zh-cn/conflicting/web/api/htmlinputelement/index.html
@@ -0,0 +1,50 @@
+---
+title: HTMLInputElement.mozSetFileNameArray
+slug: conflicting/Web/API/HTMLInputElement
+translation_of: Web/API/HTMLInputElement
+translation_of_original: Web/API/HTMLInputElement/mozSetFileNameArray
+original_slug: Web/API/HTMLInputElement/mozSetFileNameArray
+---
+<div>
+<div>
+<div>
+<div>{{APIRef("HTML DOM")}}</div>
+</div>
+</div>
+{{gecko_minversion_header("1.9.2")}}</div>
+
+<h3 id="Summary" name="Summary">概述</h3>
+
+<p>设置一个HTML <code>input</code>元素中选中的若干文件的路径以及文件名.</p>
+
+<div class="note"><strong>注:</strong> 该方法是Gecko私有的方法,在其他浏览器中不可用,且是个特权方法,不能在普通网页中使用.</div>
+
+<h3 id="Syntax" name="Syntax">语法</h3>
+
+<pre class="eval">inputElement.mozSetFileNameArray(<em>aFileNames, </em><em>aLength</em>);
+</pre>
+
+<h3 id="Parameters" name="Parameters">参数</h3>
+
+<ul>
+ <li><code>aFileNames</code> 指定给该元素的若干个文件的文件名路径以及文件名.</li>
+ <li><code>aLength </code>需要指定文件的个数(<code>通常是</code>数组<code>aFileNames</code>的长度).</li>
+</ul>
+
+<h3 id="Example" name="Example">示例</h3>
+
+<pre class="brush: js">var fileArray = {"/foo/bar.txt", "/foo/foosball.txt"};
+
+inputElement.mozSetFileNameArray(fileArray, fileArray.length);
+</pre>
+
+<h3 id="Specification" name="Specification">规范</h3>
+
+<p>非标准,Mozilla私有方法.</p>
+
+<h3 id="相关链接">相关链接</h3>
+
+<ul>
+ <li><a href="/zh-CN/DOM/Input" title="zh-CN/DOM/Input"><code>Input</code></a></li>
+ <li><a href="/zh-CN/DOM/Input.mozGetFileNameArray" title="zh-CN/DOM/Input.mozGetFileNameArray"><code>Input.mozGetFileNameArray</code></a></li>
+</ul>