http://codepen.io/anon/pen/advjeN
I tried your code it’s working.
did you put the Jquery CDN ? if not, put this in your header :
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
Did you put your code into a jquery function ? if not :
$(document).ready(function(){
[YOUR CODE HERE]
});
solved Break a JSON object [closed]