modX.regClientScript
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn moremodX::regClientScript¶
Регистрирует JavaScript, который будет введен перед закрывающим тегом BODY.
Синтаксис¶
API Doc: modX::regClientScript()
void regClientScript (string $src, [boolean $plaintext = false])
Пример¶
Добавьте некоторые JS в конец страницы.
$modx->regClientScript('assets/js/footer.js');
Смотрите также¶
- modX
- modX.regClientCSS
- modX.regClientHTMLBlock
- modX.regClientStartupHTMLBlock
- modX.regClientStartupScript
- modX.getRegisteredClientScripts
- modX.getRegisteredClientStartupScripts
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$306 per month—let's make that $500!
Learn more