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
<script type="text/javascript"> <!-- function fokus(AElementID) { var el = document.getElementById(AElementID); el.focus(); } } //--> </SCRIPT> <BODY onload="fokus('shout');" > <div id="TRESC"> <center> <table cellpadding="0" cellspacing="1" border="0" width="80%" border="1"> <tr> <td width="100%"> <iframe width="100%" height="300" border="0" frameborder="1" src="shoutbox.php" name="box"> Twoja przeglądarka nie obsługuje ramek wbudowanych lub jest obecnie skonfigurowana tak, aby nie wyświetlać ramek wbudowanych. </iframe> </td> </tr> <tr> <td width="100%"> <form method="POST" action="shoutbox.php" target="box"> <input type="text" name="tresc" maxlength="255" id="shout" > <input type="submit" value="Wyslij" id="submit" /> </form> </td> </tr> </table> </center> </div>
poprawilem cudzyslowy i dodalem </form>