Sorry to post again to this group, but again jQuery has me stumped on what seems like a simple task. I've a test doc up at http://www.nottingham.ac.uk/~ntzfr/test/ajax/jquery/xml/jquery_xml3.html and if you click on any of the static links (class="rlo_link") you'll get an alert, meaning that the "$(".rlo_link").click(function()" is being called. Click on the "Click here" link to generate dynamic links and then click on those, and no alert appears. Could someone kindly explain why this is? I can only guess that it's something to do with the links being generated after the main page has loaded, in response to an event, but if that's the case I don't know how to access such dynamically-created elements and events.
What I'm ultimately trying to do is read a XML file (like http://www.nottingham.ac.uk/~ntzfr/test/ajax/jquery/xml/ulo_test1.xml) of link titles and URLs, then allow the user to choose one of those to display in an <iframe>. The idea is that a teacher can select some web resources and display them to students behind a friendly interface. I could well be going the wrong way about it by using attr("src", url) to change the <iframe> target - should I be using load() instead, or taking another approach altogether? <grump>jQuery is *hard*! If not for all the wonderful plugins and my sheer obstinacy I'd have given up in despair ages ago, as even to do the simplest thing you need to fully internalise the whole framework, and have a comprehensive in-depth understanding of Javascript and the DOM. </grump> Cheers Fred