我有这个代码:$(document).ready(function(){$.getJSON('http://example.com/api/get_cats',function(fbResults){document.write(fbResults.cats[0].title);});});如何更改此代码:$(document).ready(function(){$.getJSON('http://example.com/api/get_cats',function(fbResults){document.write(fbResults.cats[0].title);});});让它作