View Full Version : Ajaxtabs and Prototype-Ajax.Updater problem

12-13-2006, 04:34 PM
1) Script Title: Problem with Ajaxtabs and Ajax.Updater from prototype

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm

3) Describe problem:

I am using prototype framework to do the ajax requests. I am trying to do a simple ajax.updater (a simple example like: http://www.ajaxtutorial.net/) and it works, but then 1 second later, the page is redirected to the main url.

As anybody worked with the ajaxtabs and prototype before? any help please!!!


12-14-2006, 07:40 AM
I've only tried out Prototype a couple of times a while ago, so I don't have much experience with it. But how exactly are you trying to use the two scripts together? What role does the Simple Ajax updater play on your page?

12-20-2006, 09:05 AM
I use the ajaxpage() to make a menu inside the tab by changing a div. So inside this new div I have other divs that are being changed through the Ajax.Update(). The problem is that once I see that the div is being replaced with the data coming from Ajax.Update(), it redirects itself back to my main page. I have no idea why! I am not sure if this has to do with the ajaxtabs.js

Thanks for your help