Ajax Pagination not working with iframe
Posted on 2008-11-05
My site implements pagination of search results using mootools v1.11 pagination. Basically, the index.php page with a search box has a div that looks like this:
<ul class="paginater" id="rtable-tablePaginater">
followed by a table like this: <table id="rtable">
A script tag references the .js file.
However, when an iframe is added to index.php, that same object in the .js file is created but with different properties, without the classname or id, and causes the pagination to hang.
I've tried many tests and it seems that iframes are the problem.
Please let me know if further clarification or description of the problem is required.