Home > Web Front-end > JS Tutorial > Ajax hide hidden problem solution_Basic knowledge

Ajax hide hidden problem solution_Basic knowledge

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 17:47:06
Original
1332 people have browsed it

There are two tables on my page. After calling ajax, I hide one table and then use HTML to create another table. As a result, the top of the new table has undefined. What causes this and how to solve it? The detailed code is as follows:

Copy code The code is as follows:






Enter name search:
Copy code The code is as follows:


















Select Region code Country name
${list[0] } ${list[1] }












is a certain section of code in the above code. Syntax error, the following is the modified code segment:
success: function(json) {
var tableHTML = ”;
Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
angular.js - Angularjs $http ajax issue?
From 1970-01-01 08:00:00
0
0
0
Ajax click submit but no response!
From 1970-01-01 08:00:00
0
0
0
javascript - Questions about ajax asynchronous
From 1970-01-01 08:00:00
0
0
0
javascript - Questions about ajax?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template