Home>

wondered

in index.html I have a block with input and password forms, it looks like this:

What I want to do is: I want the field with the login input constantly heard and substituted what is in the field -in the link, and the picture immediately displayed if you have a picture.

Code:

<
Form >
  ≪
Label >
Login <
/label >
  ≪
INPUT TYPE= "TEXT" NAME= "LOGIN" PLACEHOLDER= "Enter your login" >
 ///I want this field always listened to even without pressing the "Login" button, and the fact that it will be entered immediately output to PHP variable, for example.
  ≪
Label >
Password <
/label >
  ≪
INPUT TYPE= "PASSWORD" NAME= "PASSWORD" PLACEHOLDER= "Enter the password" >
  ≪
Button Type= "Submit" class= "Login-BTN" >
Login <
/Button >
  ≪
P >
    Will not fit? -<
a href= "#" target= "_ blank" >
Register on the < server;
/a >
!
  ≪
/P >
  ≪
p class= "msg none" >
Important. You need to enter the username and password from the account on the server <
/P >
≪
/Form >
≪
Footer >
  ≪
img class= "avatarkaauth" src= "https://minotar.net/avatar/$inputlogin" alt= "picture" >
≪
/Footer >

First time I ask questions on such forums, so if something badly described or explained, do not judge strictly please :)