charbittmael
New Member
I have a page called results.php that has a hidden iframe and a DIV container. When the page is loaded, some code is run in the hidden iframe which, when complete, loads the results into the CONTENT DIV in the results page, generating a scrollbar to results.phpAll this works fine, but when I have anchors in the code generated within the DIV (and finally displayed by results.php) they do not work. I have tried location.hash, scrollto and others, and none work. If I display page source code, I do not see any of the contents (as they were created in the iframe and then loaded into the RESULTS DIV), which is probably why location.hash and such don't work. Also, getElementById does not see any of the anchors, I guess because of the same reason.Any ideas how to get this to work?Thanks!