Код: Выделить всё
echo CHtml::link("Текст",'http://orthography.morphology.ru', array('submit'=>'http://orthography.morphology.ru', 'params'=>array('text'=>'js:jQuery("#TblVotes_comment").val()'), 'target'=>'_blank'));
Код: Выделить всё
submitForm : function (element, url, params) {
var f= $(element).parents('form')[0];
if (!f) {
f = document.createElement('form');
f.style.display = 'none';
element.parentNode.appendChild(f);
f.method = 'POST';
}
if (typeof url == 'string' && url != '') {
f.action = url;
}
И затерается её URL?
В общем либо это баг, либо я чег-то не понял, и как тогда открыть результат в новом окне?