Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Experts,

My requirement is very simple

I have a common.js file with so many functions and my web page having a custom validator for which i need to set ClientValidationFunction to a function which is placed in common.js

it always showing a error message the function is not defined.

please show me solution to solve this.

Regards,
Sabbi
Posted
Comments
sjelen 4-Feb-13 10:23am    
check your javascript, either your function is not declared to be visible from page or there is js error somewhere before function is declared and processig of .js file is aborted.

1 solution

Make sure you have the script import tag in your page and that this import tag appears before you attempt to make a call to something in that library script.
 
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