Home > Web Front-end > JS Tutorial > Implementation code for jquery to create parallel objects or merged objects_jquery

Implementation code for jquery to create parallel objects or merged objects_jquery

WBOY
Release: 2016-05-16 17:49:34
Original
1254 people have browsed it

Core code:

Copy code The code is as follows:

var arr = new Array();
arr[0] = $(this).parents("tr")[0];
arr[1] = $(this).parents("tr").next()[0];
var dom = $(arr);

$(dom).find("td.title a").hide();
$(dom).find("td.title input ").show();
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template