Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
<div style="visibility:hidden; display:none">
<div id="new_passage"><table name="cloneTable">
<tr>
<td>test</test><td>
<input type="text" name="test[]"></input>
</td>
<td rowspan="2"><a href="#" onclick="javascript:remove_this(this); return false;">LÖSCHEN</a>
</td>
</tr>
<td>test2</test>
<td><input type="text" name="test2[]"></input></td>
</tr>
</table></div>
</div>
<div>
<input value="mehr" onclick="javascript:clone_this(this, 'new_passage');" type="button">
</input>
</div>
function remove_this(objLink)
{
objLink.parentNode.parentNode.parentNode.parentNode.parentNode.removeChild(objLink.parentNode.parentNode.parentNode.parentNode);
}
elternknoten.removeChild(Kindknoten);
objLink[link].parentNode[td].parentNode[tr].parentNode[tbody].parentNode[table].parentNode[div].removeChild(objLink[link].parentNode[td].parentNode[tr].parentNode[tbody].parentNode[table]);
<form method="post" action="new_or_edit_policy_capture_forward.php?rap_id=24">
<input type="hidden" name="rap_id" value="24"></input>
<br />
<div id="hidden" style="visibility:hidden; display:none">
<div id="new_passage"><table width="95%" name="cloneTable">
<tr>
<td class="hellgrautab" colspan="2">
NEW_POLICY_PASSAGE </td>
<td class="helltab" rowspan="3">
<a href="#" id="delete_button" onclick="javascript:remove_this(this); return false;">
<img src="images/trash.gif" border="0" alt="LOESCHEN"></a>
</td>
</tr>
<tr>
<td class="helltab">
CHAPTER:
<input type="hidden" name="new_pointer_character[]" value="1"></input>
<input type="text" size="3" name="new_pointer_character_value[]" value="000" onfocus="kill_content(this, 000)"></input>
</td>
<td class="helltab">
<input type="text" size="91" name="new_passage_headline[]" value="PASSAGE_HEADLINE" onfocus="kill_content(this, 'PASSAGE_HEADLINE')"></input>
</td>
</tr>
<tr>
<td class="helltab" colspan="2">
<textarea cols="85" rows="5" name="new_passage[]" onfocus="kill_content(this, 'INSERT_THE_PASSAGE_HERE')">INSERT_THE_PASSAGE_HERE</textarea>
</td>
</tr>
</table></div>
</div>
<div>
<input class="button" value="FURTHER_PASSAGE" onclick="javascript:clone_this(this,'new_passage');" type="button"></input>
</div>
<br />
<div>
<input class="button" type="submit" value="SUBMIT"></input>
</div>
function remove_this(objLink)
{
objLink.parentNode.parentNode.parentNode.parentNode.parentNode.removeChild(objLink.parentNode.parentNode.parentNode.parentNode.parentNode);
}
<div id="kill_mich_12"><table><tr><td> </td></tr></table></div>
<form>
<input type="button"value="lösch mich"onclick="this.form.removeChild(this)">
</form>
document.getElementById('kill_mich_12').innerHTML='';
print_r($_POST['test2'])