i’m trying call load() on success ajax. have use load because it’s coming endpoint. getting error in console says uncaught error: 1 instance of babel-polyfill allowed if this.
.ajax({ url : url, type : 'get', datatype : "json", success : function(data) { $.each( //conditional statement .load() //other data being appended in.
is there anyway call load on success request under conditional statement? know there callback way can on success need call under conditional.
put alert message alert(json.stringfy(data))
, check ,
later u can use window.onload
or
document.getelementbyid("myframe").addeventlistener("load", myfunction); function myfunction() { //write own code }
Comments
Post a Comment