0

I'm using node.js with socketstream while calling server side function.I'm getting 'ss is not defined error'.Can i require that socketstream.how can i require the socketstream.

      ss.rpc('User.saveUserInfo',name,pwd,function(res){

      alert(res);

         });
MAAAAANI
  • 186
  • 1
  • 10
  • Hi, do you have the 'ss' variable available in your browser console? If not, check that you app.html file includes the tag, or != socketstream if you're using the jade equivalent. – paulbjensen Jan 03 '13 at 21:22
  • @paulbjensen:i didn't include that tag..now i added that. – MAAAAANI Jan 04 '13 at 04:24

1 Answers1

0

The solution to this issue was that the html tag was not included in the html file's head section.

paulbjensen
  • 828
  • 7
  • 6