Home  >  Article  >  Web Front-end  >  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
WBOYOriginal
2016-05-16 17:49:341211browse

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();
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