i have javascript application in reactjs. code follows
var fnlvalue; var reportstore = assign({}, eventemitter.prototype, { reportmemberlist: function(projectid) { obj.projectmember(projectid, function(repose) { fnlvalue = repose; }); return fnlvalue; } }
the obj.projectmember
server side calling. need return fnlvalue
after getting data server side. here callback used generating bugs.
uncaught typeerror: callback not function
Comments
Post a Comment