artguy101
06-09-2008, 12:18 PM
I am using Dynamic Ajax Content to load an external html doc with a gallery of images.
When I click an image from this external html doc, I want to load info into an iframe that exists on the main/parent page. Instead, I am getting the typical getElementById has no properties.
This is the function from the of the parent page that displays the iframe:
function showMyOrder(carthref)
{
document.getElementById('myorder_hidden').style.display = "block";
frames['MyOrder'].location.href= carthref;
}
I undertstand that for the external html doc, the iframe MyOrder from the parent page does not exist... but is there a workaround to this?
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
When I click an image from this external html doc, I want to load info into an iframe that exists on the main/parent page. Instead, I am getting the typical getElementById has no properties.
This is the function from the of the parent page that displays the iframe:
function showMyOrder(carthref)
{
document.getElementById('myorder_hidden').style.display = "block";
frames['MyOrder'].location.href= carthref;
}
I undertstand that for the external html doc, the iframe MyOrder from the parent page does not exist... but is there a workaround to this?
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm