Thema: Delphi Probleme mit IdHTTP Post

Einzelnen Beitrag anzeigen

newuser01

Registriert seit: 31. Aug 2006
248 Beiträge
 
Delphi 7 Professional
 
#21

Re: Probleme mit IdHTTP Post

  Alt 5. Nov 2006, 21:47
das einzige Feld was ich finde ist eben das Gästebuch selber also (guestbook(document.forms["frm"].text)) hier mal der gesamte Code


Code:
<script type="text/javascript" language="javascript">
function initcharsleft()
{
guestbook(document.forms["frm"].text);
}
   
function guestbook(feld)
{
var anz = feld.value.length;
if (anz> 500)
{
feld.value = feld.value.substring(0,500);frei = 0;
}

}
</script>

<form action="/guestbook/" method="post" name="frm">
<table border="0" cellpadding="0" cellspacing="0" align="center" width="400">   
   <input type=hidden name="p" value="MakeGuestbookEntry798">

<input type=hidden name="a" value="send">
   
   <tr>
      <td height="18" nowrap="nowrap" align="right">eintragin:</td>
      <td width="350">[b]testguestbook's[/b] g&auml;stebuch</td>
   </tr>
   <tr>

      <td height="18" align="right">von:</td>
      <td>[b]<input type="hidden" name="from" value="unregistered">unregistered[/b]</td>
   </tr>
   <tr>
      <td colspan="2"><textarea class="form" name="text" wrap="virtual" style="width:400px; height:70px;" onFocus="guestbook(this)" onBlur="guestbook(this)" onKeydown="guestbook(this)" onKeyup="guestbook(this)"></textarea></td>
   </tr>
   <tr><td height="5"></td></tr>

   <tr>
      <td colspan="2" align="right">      
      
      <input type="submit" class="submit" value="senden" name="submit">
      
      <!--
      <input type="button" class="submit" value="senden" name="submit" title="">
      -->      
      </td>
   </tr>   
</table>
</form>
Gruß: Holger

[Hobby-Programmierer]
  Mit Zitat antworten Zitat