阅读背景:

如何将客户端值从浏览器端传递给node.js控制器

来源:互联网 

I am building a simple nodejs app and using dust at the client side. I am trying to get the lat, lng from the users location and want to make API call using node js express framework. So I get the lat, lng at the client side from the geolocation api. Now I want to pass the lat, lng to the controller so that I can query an API to show the user content. Sorry if this is really basic. I am new to both nodejs and dust. What I tried so far? 1. I tried to submit the form using jquery 2. Setting some dom values etcI am building a simple nodejs app and using dus




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: