PDA

View Full Version : Dynamic Ajx Content - Nested Ajax Calls - FF Error



Marcusg
12-10-2007, 02:24 AM
1) Script Title:
Dynamic Ajax Content

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

3) Describe problem:
I have implemented this script successfully - works great! However, I have nested ajax links from pages already called by this script. This too works perfectly - in IE. However, in FF these nested calls do not work - all FF versions for Windows. The following error comes up on the FF Error Console:

Error: document.getElementById(containerid) has no properties
Source File: http://www.chairbiz.com/js/layout.js
Line: 36

This error only occurs when the 'Finishes' link is clicked, the Finish Options are displayed, and a specific finish option (such as Upholstery) is chosen. The requested page does not load.

You can check out the page here:

http://www.chairbiz.com/product_page2007.cfm?id=815

Thanks for your time in this matter.

Marcusg

ddadmin
12-10-2007, 07:46 AM
For the "Upholstery" link, I noticed the URL you're using inside it is:


javascript:ajaxpage('product_page_upholstery2007.cfm?id=815', 'productcontent')

This should be:


javascript:ajaxpage('product_page_upholstery2007.cfm?id=815', 'productContent')

Notice the case sensitivity here.

Marcusg
12-10-2007, 10:02 AM
ddadmin,

Thanks so much. I can't believe I missed this!! This is what happens in a team environment and I have a couple of days off (lol)! Thanks again!

Marcusg