Welcome Guest, Not a member yet? Register   Sign In
Document Write Problem Urgent
#1

[eluser]Philo01[/eluser]
Hi there!

I have an application that loads javascript like this:

Since the forum removes my code automaticly heres an image
http://img691.imageshack.us/img691/3136/testyo.jpg

Code:
[removed][removed]

This contains:

Code:
[removed](unescape("[removed][removed]"));

[removed](unescape("[removed] $(document).ready(function() { $.get('http://www.myurl.com/ads', function(data){ $('#ad').html(data); }); }); [removed]"));

So I load 1 javascript file, this loads jQuery and a peace of jQuery code that uses the get function to display an page.

This works fine in all browsers. Except IE, IE wil not load the ads it sometimes even crashes the browser.

Is there someone who can help me with an solution?
I read something about appendChild but can't figure it out.

I would realy realy appricate it! Smile
#2

[eluser]@rno[/eluser]
Hi,

Have you tried implmenting your javascript directly, wihtout the [removed](unescape.... stuff?

Arno




Theme © iAndrew 2016 - Forum software by © MyBB