Click here to Skip to main content
15,916,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all
I amdoing form validation and I called my login method from login.js using login.init(); statement but am getting a exception called "JavaScript runtime error: Object doesn't support property or method 'init'"..



Can Anyone help me..
Posted

1 solution

if you want call any function at page load just put the function in bodt tag's 'onlaod' tag like


//html code
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900