Home  >  Article  >  Backend Development  >  When ajax passes a value, it always passes the last value of the obtained data.

When ajax passes a value, it always passes the last value of the obtained data.

WBOY
WBOYOriginal
2016-08-31 08:41:091042browse

ajax value transfer can only transfer the last value of the data, or it is a loop. The loop problem is solved and only the last value can be passed.
When ajax passes a value, it always passes the last value of the obtained data.

z is the post ID set by me

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn