Загнать переменную в див
Добрый день, есть кусок скрипта JS:
if (inst.options.expiryText) {
var layout = inst.options.layout;
inst.options.layout = inst.options.expiryText;
this._updateCountdown(target, inst);
inst.options.layout = layout;
}
вот нужно чтоб эта самая expiryText выводилась в отдельный div блок, помогите подправить условие |
inst.options.layout = inst.options.innerHTML="<div>expiryText</div>: так тоже не работает
|
var a = "hello hell";
Надо загнать переменную в отдельный див. |
| Часовой пояс GMT +3, время: 21:03. |