Is it possible to get an array consisting of all id\'s on a page with jQuery?
I think this would work
var array = []; $("*").each(function(){ if(this.id) array.push(this.id); });