blob: c94b8a78f92d04f1a7ac3cfb37ae5ac70385eba8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
---
title: HTMLFormElement.target
slug: Web/API/HTMLFormElement/target
translation_of: Web/API/HTMLFormElement/target
---
<div>{{APIRef("HTML DOM")}}</div>
<p><b>target</b> legge o imposta il contenuto dell'attributo target (per esempio, il frame dove verrà visualizzato l'output del form).</p>
<h3 id="Sintassi" name="Sintassi">Sintassi</h3>
<pre class="eval"><i>stringa</i> = form.target
form.target =
<i>stringa</i>
</pre>
<h3 id="Esempio" name="Esempio">Esempio</h3>
<pre class="eval">myForm.target = document.frames[1].name;
</pre>
<h3 id="Specifiche" name="Specifiche">Specifiche</h3>
<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-6512890">DOM Level 2 HTML: target</a></p>
|