标签: javascript jquery ajax codeigniter
$(function(){ $('#textb').keypress(function (e) { var key = e.which; var messag=document.getElementById('textb').value; if(key == 13) { window.location.href = "refresh/?mesag=" + messag; } }); });
如何从codeigniter中的视图传递变量到控制器