Old Pedant: I'm working on a local version of this page:
http://www.hse.gov.uk/horizons/index.htm
The box in question is the 'short form reports' box. The other page (
http://www.hse.gov.uk/horizons/sfreports.htm) has the 25 reports in an unordered list. The pages are not in iframes.
It would be good to facilitate this using a client-side only script, as we don't have permission to mess around with asp.net on the server.
rnd me: The index.htm and sfreports.htm pages are in a root folder. As sfreports.htm is on the same level as index.htm, Ive done the following:
Code:
getPage("sfreports.htm", "ul#tips", "ul#tips-index", function (elm, dest) {
Using jQuery 1.7.2
I've tried only putting the <ul> in the index page:
Code:
<ul id="tips-index">
</ul>
And also the following:
Code:
<ul id="tips-index">
<li></li>
<li></li>
<li></li>
</ul>
Unfortunately, still not working. What am I missing?
Thanks to both of you for your help thus far.
snarf1974