1) Script Title: Dynamic Ajax Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem:
I am trying to load a page located in SharePoint at /Pages/test1.aspx into another page /Pages/loadtest.aspx using the ajaxpage() call. I have copied the script over and the page loads without errors but the ajaxpage() call doesn't seem to have worked.
My code in the loadtest.aspx page looks something like this:
I was wondering whether someone has done this before and can provide perhaps some additional steps I might take to troubleshoot. Any advice would be helpful.Code:<script type="text/javascript"> _spBodyOnLoadFunctionNames.push("loadtest"); function loadtest() { ajaxpage('/Pages/test1.aspx', 'rightcolumn') } </script>
Thanks,
Kevin



Reply With Quote
Bookmarks