text: $(function(){$(".del").click(function(a){var b=$(a.target),c=b.data("id"),d=$(".item-id-"+c);$.ajax({type:"DELETE",url:"/admin/movie/list?id="+c}).done(function(a){1===a.success&&d.length>0&&d.remove()})}),$("#douban").blur(function(){var a=$(this),b=a.val();b&&$.ajax({type:"get",cache:!0,dataType:"jsonp",url:"https://api.douban.com/v2/movie/subject/"+b,crossDomain:!0,jsonp:"callback",success:function(a){$("#inputTitle").val(a.title),$("#inputDoctor").val(a.directors[0].name),$("#inputCountry").val(a.countries[0]),$("#inputPoster").val(a.images.large),$("#inputYear").val(a.year),$("#inputSummary").val(a.summary)}})})});