[Solved] javascript variable > than number
If your goal is to find all matching divs, you have to do a bit more work. Not a lot, but a bit: var w = 1600; var h = 1063; // Find all divs and filter them var matchingDivs = $(“div”).filter(function() { // Does this div’s text match the form (1601 x 1064)? // … Read more