JSON data encoding

Source: Internet
Author: User
The customer enters the data and stores it, one of which is the year
2014 2015 2016 2017 20,185 years
In addition to the 2015 other storage data is normal, use JSON encode in $ajax to save the TXT document. Viewed and found to be 2105
Such a format is read again in case a problem cannot be displayed
Does Daniel have any solution?


Reply to discussion (solution)

I don't know what you're talking about.

Year:Select ...20142015201620172018



$ ("#anneeAAP option"). Filter (function () {return $ (this). Text () = = Msg.anneeaap;}). Prop (' selected ', true);


Txt
"Anneeaap"; s:4: "2105";

When selected, the option is 2015, this option is stored in txt after 2105
There are no problems with other years of storage. 2014 deposit in is 2014, 2016 is 2016 ... Now the problem is the choice of 2015 years, the TXT document is some, and the deposit is 2105, but not show
Is it a question of JSON coding?

2015
Are you testing our IQ?

The amount ...
Too sorry, small offing, really did not find AH.
Thanks to the moderator remind, otherwise it'll take a long time to find out where the problem
Thank you so much for pulling!!!

  • 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.