The example code there doesn't do everything it needs to test this out. I the part between the <!-- BEGIN --> and <!-- END --> needs to be retrieved by ajax
I guess I could put that in and see if it worked with that code. I'll let you know the results... thx again Wizzud On Oct 14, 6:12 am, Wizzud <[EMAIL PROTECTED]> wrote: > Apart from the fact that it's a manual action, what doesn't work with > the example code? > > On Oct 13, 3:23 pm, Mark <[EMAIL PROTECTED]> wrote: > > > It seems this post was deleted... Why? > > > If I have a main page and a section of it generated by Ajax, how do I > > access an element in the main page from the section generated by Ajax? > > > Or, in code speak: (how can I make something like this work) > > > <html> > > <img id="removeMeAfterAjax" src="images/fredington.jpg" /> > > > <div id="AjaxHolder"> > > <!-- BEGIN retrieved via Ajax --> > > > <a onClick="$('#removeMeAfterAjax').remove();">Remove > > Fredington</a> > > > <!-- END retrieved via Ajax --> > > </div> > > </html>