Is the returned html well formed? Does it make sense for it to be
inserted into the dom where you're trying to put it? Have you verified
that the selector for your target div actually finds it in IE?

On Jun 14, 5:22 pm, Fred <[EMAIL PROTECTED]> wrote:
> no, just html.
>
> On Jun 14, 3:03 am, ilrobyt <[EMAIL PROTECTED]> wrote:
>
> > On 14 Giu, 01:02, Fred <[EMAIL PROTECTED]> wrote:
>
> > > Hi guys, I am having a wierd issue. It seems all is fine in firefox
> > > but in IE for some reason, although I can alert the value returned to
> > > the ajax post, I cannot seem to populate the html of my div. Here is
> > > my code:
>
> > > $.post(SERVER_URL,
> > >   'temp_key='+temp_post_key_n,
> > >   function(data){
> > >      alert(data); // Displays returned html in ie and firefox
> > >      $('#message_div').html(data); // Populated in Firefox, not in IE
> > >      },
> > >   'html'
> > > );
>
> > > Also, If I set $('#message_div').html(data) to $
> > > ('#message_div').html('testing') I see "testing" in my div in both IE
> > > and Firefox. Thanks a ton!
>
> > > Fred.
>
> > have you some javascript code in the server answer?
> > IE strip script

Reply via email to