Home  >  Q&A  >  body text

javascript - Please help me see why this ajax will report an error.

PHP中文网PHP中文网2662 days ago938

reply all(1)I'll reply

  • typecho

    typecho2017-07-05 10:54:11

    You spliced ​​data and added parentheses, and your data.status must be wrong. After executing data=eval('('+data+')'), data becomes a string, not an object.

    reply
    0
  • Cancelreply