Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-18-2007, 09:12 PM   PM User | #1
matchoo
New to the CF scene

 
Join Date: May 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
matchoo is an unknown quantity at this point
Ajax.Updater not working on IE

Howdy...

This code works on FF but not on IE.

I am using it against MULTIPLE Div's, I wonder if IE can't handle that - is there another way of doing this instead of declaring New updaters each time? Seems like it might be smart to just use one connection? Possible?

Here is the code...

Code:
<script src="lib/prototype.js" type="text/javascript"></script>
<script type="text/javascript">

new Ajax.Updater('video1','videodetails.php?video=D6frFp-VwHs',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user1','userdetails.php?user=yetube',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video2','videodetails.php?video=nlWOu9FHm-I',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user2','userdetails.php?user=truefaithisle',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video3','videodetails.php?video=0Lg4i2C6zws',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user3','userdetails.php?user=TNAwrestling',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video4','videodetails.php?video=UJpgxqYGws4',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user4','userdetails.php?user=jrc0803',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video5','videodetails.php?video=BAPwg5nCKxE',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user5','userdetails.php?user=milanoss',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video6','videodetails.php?video=vVJ06ixj19Q',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user6','userdetails.php?user=PimpimusPrime',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video7','videodetails.php?video=UbhEunreGwQ',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user7','userdetails.php?user=milanoss',{asynchronous:true, evalScripts:true});
new Ajax.Updater('video8','videodetails.php?video=Sy4Eugc0Xls',{asynchronous:true, evalScripts:true});
new Ajax.Updater('user8','userdetails.php?user=karlspackler',{asynchronous:true, evalScripts:true});
//etc..
</script>
etc...

about 200 Div's

The top 3 don't render for me. Plus it seems to render it the opposite order in IE vs FF - weird?

You can see the results by looking here with both browsers:

http://youtubedata.com


Last edited by matchoo; 05-18-2007 at 09:17 PM..
matchoo is offline   Reply With Quote
Old 05-21-2007, 11:46 PM   PM User | #2
matchoo
New to the CF scene

 
Join Date: May 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
matchoo is an unknown quantity at this point
Never mind...

I decided to go another route... so I ended up not using much Ajax at all - except for the Lightbox stuff.

The entire code for this website is found on the website itself in the "How I Built It" section.

Happy coding
matchoo is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:09 PM.


Advertisement
Log in to turn off these ads.