I'm loading the html files to the div like this
var j1 = $('<div class = "cl1">').load('components/1.html');
var j2 = $('<div class = "cl2">').load('components/2.html');
var j3 = $('<div class = "cl3">').load('components/3.html');
$("#search_content").append(j1);
$("#search_content").append(j2);
$("#search_content").append(j3);
I want to get the count of p tag in each file. Thanks in advance.