Today, we are working in the childish stage again. how can we solve this problem?

Source: Internet
Author: User
Today, we are still playing the game again in the naive step... we need to submit data through ajax to get the php json and then return the traversal json data to write the value into the corresponding input. At the very beginning, no matter how jsonjquery is returned, it will not be able to normally enter success: some are always error: various types of debugging prompts that are depressing... three hours later, I found that a plus sign in the js code was written. (The way php is written, it hurts again today in the childish stage...
You need to submit data through ajax to get the json of php and then return the traversal json data to write the value into the corresponding input.

At the beginning, the response was complete, and no matter how json jquery was returned, it could not normally enter success: some of them were always error: various types of debugging prompts that were depressing...
Three hours later, I found that a plus sign in the js code was written)

Very naive thing, in fact, I also suspected that the code has been read several times, that is, I did not see it, firefox is also OK... ide editor is also OK...
I cannot remember the first few times of such a naive problem...

After this naive problem is solved, I am familiar with it. The preg regular expression is easy to solve. science and technology are the first productivity.

Today, we have almost no idea how to solve this tough and naive problem. Click
In a good mood...

------ Solution --------------------
Ha, php sequelae
------ Solution --------------------
. Replace + to connect the string?

Will JS errors be reported?
------ Solution --------------------

Today, we have almost no idea how to solve this tough and naive problem. Click
In a good mood...
------ Solution --------------------
You don't need firefox + firebug. does chrome check js errors?
------ Solution --------------------
Discussion

You don't need firefox + firebug. does chrome check js errors?

------ Solution --------------------

------ Solution --------------------
It often appears. Language obfuscation.
------ Solution --------------------
The landlord is a bit humorous ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.