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
Post a Comment