• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/wizard.php
  • Класс: CWizardTemplate
  • Вызов: CWizardTemplate::WizardAutoSubmit
function WizardAutoSubmit()
{
var nextButton = document.forms["{$formName}"].elements["{$nextButtonID}"];
if (nextButton)
{
	WaitWindow.Show();

	nextButton.click();
	nextButton.disabled=true;
}
}