How to make fff () run from the bottom of the form?
<html> <body> <script type='text/javascript'> function fff() { var x=document.forms["myForm"]["fname"].value; document.write(x); return false; } </script> <form name="myForm" href="" onsubmit="return fff();" > id: <input type="number" value="Текст" name="fname"><br><br> <input type="submit" value="Отправить"> </form> </body> </html>
<script>fff();</script>- Igor