Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • You need to pass some parameters to Name. container_id is undefined, so $(this.containerID) won't work. Commented Nov 8, 2013 at 19:05
  • Related: stackoverflow.com/questions/310870/… Commented Nov 8, 2013 at 19:05
  • Question 2: stackoverflow.com/questions/336859/… Commented Nov 8, 2013 at 19:05
  • 2
    P.S. Don't just say "This gives me an error", show us the exact error. Commented Nov 8, 2013 at 19:05
  • with sample code provided this.userID would be undefined because you didn't pass any vaue for it to the constructor. It could be a problem with the this context. Maybe you should check this answer that explains about prototype and the value of this stackoverflow.com/a/16063711/1641941 Commented Nov 8, 2013 at 19:15