Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : TypeError: elem is undefined

$
0
0
The first parameter expected by a Control is an element. What you are passing it is a string. 

Also, I would put everything from prototype.settings in defaults. The title of "Login" you are passing the constructor will not override the title in this.settings.

Viewing all articles
Browse latest Browse all 3491

Trending Articles