To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > ClientSide Technologies

ClientSide Technologies Discuss HTML/CSS/Javascript, and any other client-side technologies, here.

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-17-2006, 10:26 PM   #1
bpat1434
NMaOtBG
 
bpat1434's Avatar
 
Join Date: Oct 2004
Location: Around 255.255.255.0
Posts: 8,093
Javascript in IE & Opera error?

Hi all. Having some trouble with javascript.

IE and Opera just don't seem to want to work

Here's the code I'm running:
Link to JS

Now, this will get an XML output of something like:
Link to XML

And the final layout should look like:
Link to View

Now, if you view in Firefox it runs fine. The JS gets the XML output, parses and updates as expected. In IE and Opera, nothing changes, and it never stops "loading". IE gives an error on line 50 character 4 which is right in the middle of a document call... not sure what's going on....

Anyone? Anyone?
bpat1434 is offline   Reply With Quote
Old 04-18-2006, 11:04 PM   #2
bpat1434
NMaOtBG
 
bpat1434's Avatar
 
Join Date: Oct 2004
Location: Around 255.255.255.0
Posts: 8,093
24-hour *bump*

Anyone?
bpat1434 is offline   Reply With Quote
Old 04-18-2006, 11:44 PM   #3
JPnyc
Administrator
 
Join Date: Jan 2005
Posts: 963
I wish I had an answer for ya. I haven't had need to do that much with AJAX, so the nuances from browser to browser wouldn't be known to me.
__________________
PHP builder Online Community Manager

JPnyc is offline   Reply With Quote
Old 04-18-2006, 11:50 PM   #4
bradgrafelman
Pna lbh ernq guvf?
 
Join Date: Jul 2004
Location: 40.566N -89.731W, ~469ft above sea level
Posts: 11,488
Wish I could help debug stuff in IE, though I've screwed up my XML in IE ages ago and never found a fix. No AJAX/XML stuff works in IE for me... I always get "Error: Automation server can't create object"
__________________
***If your problem has been solved, PLEASE click the RESOLVED LINK under "Thread Tools"***

"Well Bones, do the new medical facilities meet with your approval?" -- Kirk
"They do not. It's like working in a damn computer center" -- McCoy (Star Trek: TMP)

Useful links: Debugging 101 || NJOE || (Sig image) || Rolla Engineered Solutions, LLC
bradgrafelman is offline   Reply With Quote
Old 04-18-2006, 11:50 PM   #5
bpat1434
NMaOtBG
 
bpat1434's Avatar
 
Join Date: Oct 2004
Location: Around 255.255.255.0
Posts: 8,093
it's not really the ajax... it's more of the JS not working. I'm getting errors in the JS but only in Opera and IE....

Can anyone test this with Konquerer and/or Safari?
bpat1434 is offline   Reply With Quote
Old 04-18-2006, 11:52 PM   #6
bradgrafelman
Pna lbh ernq guvf?
 
Join Date: Jul 2004
Location: 40.566N -89.731W, ~469ft above sea level
Posts: 11,488
It must hit the XML stuff before the error you're getting then, because that's where IE dies for me (line 31 char 3)

And... apparently Opera doesn't even want to give me an error. Heh... *shrug*
__________________
***If your problem has been solved, PLEASE click the RESOLVED LINK under "Thread Tools"***

"Well Bones, do the new medical facilities meet with your approval?" -- Kirk
"They do not. It's like working in a damn computer center" -- McCoy (Star Trek: TMP)

Useful links: Debugging 101 || NJOE || (Sig image) || Rolla Engineered Solutions, LLC

Last edited by bradgrafelman; 04-18-2006 at 11:59 PM.
bradgrafelman is offline   Reply With Quote
Old 04-19-2006, 03:04 AM   #7
bpat1434
NMaOtBG
 
bpat1434's Avatar
 
Join Date: Oct 2004
Location: Around 255.255.255.0
Posts: 8,093
yeah... opera gives no error... but I think that once i get the IE error worked out... Opera will start to work....

Stupid Opera/IE errors.....

WHY WON'T YOU WORK YOU SON OF A MONKEY!?!?!?!?!

[edit]

Turns out that the response is not an object that IE likes... not sure why.....
I've added plenty of debugging output on the page....

Can anyone think of anything?
[/edit]

Last edited by bpat1434; 04-19-2006 at 04:14 AM.
bpat1434 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes 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 -4. The time now is 04:39 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.