[jQuery] Re: $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
g on so the changes I had made weren't showing up. On Dec 16, 10:14 am, davidgregan wrote: > I'd like to add that I can't even access the new DOM elements in IE in > the $.get() callback function,  but I can in firefox. it's like IE > doesn't insert the new HTML into

[jQuery] Re: $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
I'd like to add that I can't even access the new DOM elements in IE in the $.get() callback function, but I can in firefox. it's like IE doesn't insert the new HTML into the dom until after the callback is executed. that sucks! ;P On Dec 16, 9:42 am, davidgregan wrote:

[jQuery] Re: $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
scripts contained in the loaded content are automatically > evaluated after the load has been successfull. You should insert at > the end of the document you are loading > > alert("content loaded") > > > It will work flawlessly in both browsers. > > On 16 déc

[jQuery] $(document).ready on an ajax return?

2008-12-16 Thread davidgregan
I'm using a $.get call to get the contents for a dialog box and I'm trying to run the $(document).ready on the ajax return like so: parentPage.html: $.get('desiredContent.html',function(data){ $("#dialogBoxDiv").html(data); $("#dialogBoxDiv").dialog('open'); } desiredContent.html: $(document).re

[jQuery] Re: how do you get a div from an ajax form return?

2008-11-24 Thread davidgregan
t;).flexReload(); } ); or is there a better or more conventional way? On Nov 22, 6:04 pm, coughlinsmyalias <[EMAIL PROTECTED]> wrote: > Hey, > > Can you send me your code to look at. Are you trying to update a DIV > or use it as a succss show? > > On Nov

[jQuery] how do you get a div from an ajax form return?

2008-11-22 Thread davidgregan
I'm using the jquery forms plugin for an ajax request and update. I set the target option to the desired div that I want to update. The problem that I'm running into is that it will update the div with the contents of the entire page rather than the just the contents of that div. I'd like to do th