Код: Выделить всё
$doc = JFactory::getDocument();
$js = "
jQuery(document).ready(function($){
// Define the variables
var regForm = $('#member-registration');
var name = regForm.find('#jform_name'); @domain.com
Подробнее здесь: [url]https://stackoverflow.com/questions/72639469/adding-a-domain-after-a-name-field-on-a-registration-form[/url]
Мобильная версия