ajax - obj.responseText

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • littlecoder
    New Member
    • Oct 2008
    • 3

    ajax - obj.responseText

    hi,
    I am returning a string "hello" from an ajax page and retrieveing it with
    object.response Text ;like
    echo "hello" ;
    var test = object.response Text;
    but the statement below is not working... Any idea ?
    if(test=="hello ")
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    did you check that you actually receive anything? (alert responseText or use Firebug (FF plugin))

    regards

    Comment

    Working...