Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: ResponseXML

  1. #16
    Regular Coder
    Join Date
    Jan 2008
    Posts
    334
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Thank you very much for you time and help.

  2. #17
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    It seems that it was a caching problem in your browser.
    The problem was not due to xml but rather to javascript syntax error.

    This is your log:
    Message: Object doesn't support this property or method
    Line: 28
    Char: 3
    Code: 0


    Message: Object doesn't support this property or method
    Line: 28
    Char: 3
    Code: 0

    Message: Object doesn't support this property or method
    Line: 28
    Char: 3
    Code: 0
    The problem was that you should have replaced all occurrences of getElementByTagName with getElementsByTagName.

    Object doesn't support this property or method
    this shows that there is a syntax error somewhere.
    Software and cathedrals are much the same - first we build them, then we pray.

  3. #18
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    am glad it worked for you.
    Software and cathedrals are much the same - first we build them, then we pray.

  4. #19
    Regular Coder
    Join Date
    Jan 2008
    Posts
    334
    Thanks
    9
    Thanked 0 Times in 0 Posts
    Well, this ajax stuff is all new to me and I'm loving the stuff that it can do but just the other day I learnt and pretty much got a good understanding of how responseText works and then I was thinking it would be cool if I could control where all of the text goes on the page so the only way of doing that is putting into XML form so that then you can put it where you want it on the page.

    I spent all last night and some today trying to figure out this problem. I'm sure if it was you coding it you would of had it figured it in minutes but this stuff is all new to me. I've coded PHP for about 3-4 years now PHP isn't the problem, its JavaScript that I'm not totally use to yet. But man it is a cool language!


    I wish JavaScript had better error reporting. Kinda like PHP does.
    Last edited by Jon W; 10-21-2009 at 08:19 PM.

  5. #20
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,296
    Thanks
    10
    Thanked 584 Times in 565 Posts
    Quote Originally Posted by Jon W View Post
    I wish JavaScript had better error reporting. Kinda like PHP does.

    you are using firebug right?

    i would venture to say that while the reporting is not as explicit, javascript is easier overall to debug since you can poke around the live environment from firebug. In php, you would have to code your var_dumps ahead of time...

    with great power come great responsibility...
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •