Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][JavaScript]Czysczenie formlarzy...
gylopl
post
Post #1





Grupa: Zarejestrowani
Postów: 82
Pomógł: 1
Dołączył: 6.04.2008

Ostrzeżenie: (0%)
-----


Witam!
Mam problem z czysczeniem formularzy:) Ponizej jest formularz sluzacy do shoutboxa.... dodalem funkcje fokus ale te czyszczenie po wyslaniu mi nie wychodzi... prosze o pomoc

  1. <script type="text/javascript">
  2. <!--
  3.  
  4. function fokus(AElementID)
  5. {
  6. var el = document.getElementById(AElementID);
  7. el.focus();
  8. }
  9.  
  10. }
  11. //-->
  12. </SCRIPT>
  13. <BODY onload="fokus('shout');" >
  14.  
  15. <div id="TRESC">
  16.  
  17.  
  18. <table cellpadding="0" cellspacing="1" border="0" width="80%" border="1">
  19.  
  20. <tr>
  21. <td width="100%">
  22. <iframe width="100%" height="300" border="0" frameborder="1" src="shoutbox.php" name="box">
  23. Twoja przeglądarka nie obsługuje ramek wbudowanych lub jest obecnie skonfigurowana tak, aby nie wyświetlać ramek wbudowanych.
  24. </iframe>
  25. </td>
  26. </tr>
  27. <tr>
  28. <td width="100%">
  29. <form method="POST" action="shoutbox.php" target="box">
  30. <input type="text" name="tresc" maxlength="255" id="shout" >
  31. <input type="submit" value="Wyslij" id="submit" />
  32. </form>
  33. </td>
  34. </tr>
  35.  
  36.  
  37. </div>


poprawilem cudzyslowy i dodalem </form>

Ten post edytował gylopl 28.09.2008, 20:01:03
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 23:42