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
Post a Comment