//Sample solution to script.js
$('document').ready(function() {
var jQuery = $;
//iterate over jQuery, adding every key
//to the list with id jQueryAttributes
var divjQueryAttributes = $('#jQueryAttributes');
$.each(jQuery,
function(index, value){
divjQueryAttributes.append('<li id=' + index +'>' + value + '</li>');
});
});
No comments:
Post a Comment