sails.js - access controller object from a javascript file in sails js -


i new sails js. passing object controller view in sails js. can access object ejs (embedded javascript) file. need access object javascript file. should need use object in hidden field or there better way object javascript file.

you have send data in hidden field. not possible access controller variables front-end.

also, use sockets.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -