The problem of DIV cache generated by dynamic JS

Front-end page A DIV default display:none, page JS sends AJAX and then the request to the parameter shows that there are two input in the DIV of DIV,display:block;

shows that several are judged by the returned parameters. If 1 is returned, one is displayed, but I find that only the DIV that pops up for the first time is correct

after each request.

then click on an input whose parameters are different and the number of pages will not change until the next page is refreshed. Every time the page is not refreshed, it is the same as the one that popped up last time

is the cache of the last page. Then the div is grouped together, and then display:none

is judged if it is not displayed.

I know I can judge at the back end and go back, but I want to know why this doesn"t work. Is there any good solution

Jun.03,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37caa-2c0db.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37caa-2c0db.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?