The JSON data is encoded and stored by the customer. one of the items is the year.
2014 2015 2016 2017 2018 five years
Except for the data stored in 2015, it is normal to use the json encode in $ ajax to store the txt file. after viewing the file, it is found that the value is 2105.
If the format is read again, the problem cannot be displayed.
Do you have any solutions?
Reply to discussion (solution)
What are you 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. after saving the option to txt, it is 2105.
There are no problems with the storage for several other years. if 2014 is saved, 2014,201 6 is 2016... the problem is that we chose 2015, which is found in the txt file and saved in 2105, but it cannot be displayed.
Is it about json encoding?
2015
Are you testing our IQ?
Amount .........
I'm sorry. I believe you have never found anything.
Thanks to the moderator's reminder, it will take a long time to check the problem.
Thank you !!!