javascript get callback from method

时间:2015-04-29 00:25:05

标签: javascript jquery callback

I'm using the cameratag js library functions and am wondering how I get the callback response from them (for example the publish() function). Similar to how you would get the response from an ajax call. I'm pretty novice at javascript.

1 个答案:

答案 0 :(得分:0)

不是javascript或jquery,在您上传视频后,该响应将发送到您的服务器,您将收到 POST请求到您的服务器中的指定网址,其中包含该JSON内部请求机构。您需要做的是解析JSON并在服务器函数中处理它,例如,将信息保存在数据库中