Welcome Guest, Not a member yet? Register   Sign In
Codeigniter with Ben alman BBQ script gives a serious load looping problems
#1

[eluser]Jarmo77[/eluser]
Hi everyone!

I'm working on a project where i use Ben Alman's jQuery BBQ Back button script. (http://benalman.com/code/projects/jquery...-advanced/).
I've pretty much copied the script from his page and pasted it into my header.php view. I load header and footer in every view i create and between them i put the rest of the view that i wanna output.

I've ran into some problems on the way, i load a CI controller with jquery.load() and get some values from a database return the results to the controller and then to a view. All is well until the last part, loading the view with the data i got from the database.

When i load the view and pass the data to it, the view falls into a loading loop, where all my js scripts and jquery.load() loops over and over again.

Problem is that the BBQ script loads over and over which triggers jquery.load in the script which reloads the controller and rest of the chain. How do i prevent this behaviour?

// Jarmo



Messages In This Thread
Codeigniter with Ben alman BBQ script gives a serious load looping problems - by El Forum - 08-09-2012, 06:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB