return $form->field($model, 'position['. $model->id. ']')->textInput(['value' => $model->position, 'style' => 'width:50px'])->label(false);
...
success: function(data) {
$('#user').html('Мой кабинет');
}
...
$(document).on('click', '.menu-order li a', function() {
var linkID = $(this).attr('href');
$('html, body').animate({
scrollTop: $(linkID).offset().top
}, 'slow');
});
<div id="div-name"></div>
<script>
var myDiv= document.getElementById('div-name'),
json = '<?php echo $s;?>',
data = JSON.parse( json );
myDiv.innerHTML = data.icestats.source.title;
</script>
$('#div-name').html(data.icestats.source.title);
<td><?= $ev->category->name ?></td>
<span><?= $ev->type->name ?></span>