Hello,
I've got a working PHP-script. I'm trying to modify it so, that on pageload the cursor automatically goes in the textbox.
Does someone know what script I have to use to focus the cursor in the textbox on pageload and where I should place it in the following PHP-script? I'm a noviceso I blew my mind on this a few times
![]()
Here's the script (the script regarding the textbox mentioned above is red):
Thanks in advance for your help! My Supurb IT-friends let me down on this...Code:<?php echo " <html> <head> <link href=\"../../../CSS/HVB.css\" rel=\"stylesheet\" type=\"text/css\"> </head> <body class=starturen> <h1>Tijdregistratie:</h1> <form action='leerling_aanmelden.php' method='post'> <table border = 0 cellspacing = 2 cellpadding = 4> <tr> <td bgcolor='#D2E1F8'>Voer je loginnaam in: <input type='text' name='Loginnaam' size='15'/></td> </tr> <tr> <td bgcolor='#D2E1F8' align=right><input type='submit' value='Verder' /></td> </tr> </table> </form> </body> </html> "; ?>




so I blew my mind on this a few times
Reply With Quote