javascript - Dynamically loading a content in <div> no longer working jquery. Raw new line deprecated -


i trying dynamically load html content in <div>

var fsearch = function(event) { event.preventdefault();    $.post("index.php/employee/search").done(function(res) {       alert(res);       $("#emp_list").load(res);    }); }; $("#search_box").submit(fsearch); 

i running on chrome. seems no longer possible. console says

[deprecation] resource requests urls contain raw newline characters  deprecated, , may blocked in m60, around august 2017. please remove newlines places element attribute values in order continue loading resources. see https://www.chromestatus.com/features/5735596811091968 more details. 

i using codeigniter development

is there way on how achieve objective?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -