Sure, I can see it in the browser. But I would also continue to
manipulate the newly loaded content. And I can't figure out how to
address it (i.e. how to obtain a handle to it.

On 29 Maj, 19:56, Jonathan <jdd...@gmail.com> wrote:
> Due to .load being Asynch line 10 will execute before 5-8(those are
> inside a callback) so it makes sense the contents won't be inside the
> Dom yet.
>
> On line 8 what do you mean the 'problem arises here!'. Was the proper
> data logged to the console, can you not see the contents when you use $
> (tag).find()?
>
>
>
> > 1      function reload(id, uri) {
> > 2           var tag = "#"+id;
> > 3            $svjq(tag).text("");
> > 4            $svjq(tag).load(uri, function(data) {
> > 5                // debug ouotput of the loaded data
> > 6                console.log("Data: \n"+data);
> > 7
> > 8                // PROBLEM ARISES HERE!
> > 9            });
> > 10           $svjq(tag).find("XXX")...// OR HERE!
> > 11     }
>
>

Reply via email to