I have an object window.Think and an array:
window.Think.questions = [
{answers: [
{a: 1, b: 2}
]}
];
I'm trying to .append() part of this array into an element .buttons in my html.
How can I modify this so it prints part of my array?
$think = window.Think.new;
$(document).ready(function(){
$(".buttons").append($think.questions[1]);
});
<input type="checkbox" name="1">