base_url codeigniter javascript code example Example: codeigniter base_url $this->load->helper('url');