url in jquery ajax post in codeigniter
url in jquery ajax post in codeigniter
我正在尝试设置jQuery Ajax post URL。但它并没有像我想的那样工作。我搜索了很多,我得到了很多解决方案。但没有一个显示出我的问题。我在var baseurl = "<?php print base_url(); ?>";
的js文件中设置了基础URL,并在$.ajax url
中使用它来连接它。它给了我
Disallowed Key Characters.php_print_base_url();_?>welcome/add_tag
我想var baseurl
不工作了。