找不到对象!
在此服务器上找不到请求的URL。引用页面上的链接似乎是错误的或过时的。请告知该页面的作者有关错误的信息。
如果您认为这是服务器错误,请与网站管理员联系。
错误404
localhost Apache / 2.4.23(Win32)OpenSSL / 1.0.2h PHP / 5.6.24
配置:
$config['base_url'] = 'http://localhost/1/';
自动加载
$autoload['helper'] = array('url', 'form', 'html');
site_url适合我,但是当我使用base_url时它不起作用。 我更喜欢使用base_url()而不是site_url。
如何运行我的代码?
答案 0 :(得分:0)
我认为您的配置存在问题, 你可以替换
$config['base_url'] = 'http://localhost';
用
$config['base_url'] = 'http://localhost/Yoursite';
或者
$(function(){
$("#Step-02").find('#information-box', function () {
for(i = 0; i < lenHotel; i++) {
$("#Step-02").find('#information-box').html(
// HTML
);
}
})
});
希望这项工作