You can use the jQuery map function. This will return an array of "English", "Spanish" and "German".
var myArray = $('#enable p').map(function(){ return $(this).text(); }).get();
For a list of identifiers you can do this
var myArray = $('#enable p').map(function(){ return this.id; }).get();
See jsfiddle http://jsfiddle.net/B3LuE/
source share