Welcome Guest, Not a member yet? Register   Sign In
Jquery and CI, URL problems
#9

[eluser]jdfwarrior[/eluser]
Snake just meant that you didnt have to set base_url() as a variable and pass it to the view, that the base_url() function can be used within the view file. Basically, he's saying you dont have to set $base, that you could have just done:

Code:
$(”#cart”).load(”<?=base_url()?>ajax/ajax_cart.php”, { ‘recordid’:[id] });


Messages In This Thread
Jquery and CI, URL problems - by El Forum - 08-18-2009, 05:11 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 05:34 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 06:49 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 06:51 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 06:58 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 07:53 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 07:56 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 08:01 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 08:12 AM
Jquery and CI, URL problems - by El Forum - 08-18-2009, 08:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB