The script uses ajax and jquery. Here is part of the script:

$("#login").next().hide().text("Логин занят").css("color","red").fadeIn(400); 

and before the "Login is busy" you need to put <br> , but if you just write it there, then there will be no effect.

  • jquery.php file must be created and there write a javascript where it works - Samo

1 answer 1

Method .html () - returns or changes html-content of the selected page elements.

 $("#login").next().hide().html("<br>Логин занят").css("color","red").fadeIn(400); 
  • still does not work - Cyril Romantic
  • 2
    @Kirill Romantic, then show the html-code related to this problem. At a minimum: an element with the login id and the element following it. - Deonis