Einzelnen Beitrag anzeigen

Benutzerbild von Master_RC
Master_RC

Registriert seit: 18. Jan 2005
459 Beiträge
 
Delphi 7 Enterprise
 
#4

Re: [JavaScript] Seite reloaden, wenn feld leer

  Alt 11. Aug 2005, 10:49
ich häng natürlich grade fest...

das ist die form:
Code:
<form action="quickchat.php?comscroll=0" method='POST' name='derchat'><span class='colLtGreen'>


<input name='insertcommentary[quickchat]' size='40' maxlength='185'><input type='hidden' name='talkline' value='sagt'><input type='hidden' name='section' value='quickchat'><input type='submit' class='button' value='Hinzufügen'>


</span>


</form>
das mein jetziger "reload-code":
Code:
<head>
<script language="JavaScript">
function CheckField()
{
if (document.insertcommentary[quickchat].section.value != '')
{
  self.location.href = self.location.href;
}
setInterval("CheckField()", 100)
}
</script>
</head>
und ich brauch "name='insertcommentary[quickchat]'" als "kontrolfeld", esklappt aber grade net...
Ein Volk ist nur soviel wert, wie es dessen Toten ehrt.
  Mit Zitat antworten Zitat