$.ajax({ url:"strock.js?name="+chiWord, async:false, success:function(json){ _this.jsonObj = json; if (_this.jsonObj==null) { alert("parse json error"); return; } }, error:function(){ console.error("got error, %o", arguments); } });
$.ajax({ url:"strock.js?name="+chiWord, async:false, success:function(json){ _this.jsonObj = json; if (_this.jsonObj==null) { alert("parse json error"); return; } }, error:function(){ console.error("got error, %o", arguments); } });