1
Answer

Two functions with same name in .js..?

Hi,
 
   In my aspx page declaring sayhello() and include external javascript file, that file also having sayhello() function.
   while calling sayhello() which function call.?
 
 
Thanks in Advance. 
 
Answers (1)
0
Jason Wilczak
NA 125 0 9y
It will call the last one that it finds. So if you declare sayHello in your body and the script loads in your header then the body sayHello will be called.
 
 
References: 
Accepted