Welcome Guest, Not a member yet? Register   Sign In
question of ajax and CI
#5

[eluser]piranha_swe[/eluser]
I've been trying like you say now but I'm not getting it working. I still find the URL a bit unclear at times, like now.

I tried a bunch of diffrent ways, and most just dont give me any result but this will give me a weird result:

{
$('#cart').load('/records/ajax_cart', { 'recordid':[id] });
}


public function ajax_cart()
{
echo "adsf";
}

It will load the whole page again ontop of the other page. I use some transparent images on the site so I can see my site loaded a few pixels moved ontop of the first one. Any idea what I could be doing? or what I should be doing instead?

To try what I mean: go here: http://www.vinylcatch.se/records/house and click Add to Cart


Messages In This Thread
question of ajax and CI - by El Forum - 08-19-2009, 03:41 AM
question of ajax and CI - by El Forum - 08-19-2009, 04:31 AM
question of ajax and CI - by El Forum - 08-19-2009, 04:36 AM
question of ajax and CI - by El Forum - 08-19-2009, 04:49 AM
question of ajax and CI - by El Forum - 08-21-2009, 03:49 AM
question of ajax and CI - by El Forum - 08-21-2009, 04:04 AM
question of ajax and CI - by El Forum - 08-21-2009, 05:08 AM
question of ajax and CI - by El Forum - 08-21-2009, 05:38 AM
question of ajax and CI - by El Forum - 08-24-2009, 03:15 AM
question of ajax and CI - by El Forum - 08-24-2009, 03:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB