I have two methods with the same name, for different purposes in 2 different .js files. How can I use those methods on same page?
In Count.js:
function add()
{
// some manipulation doing here
}
In PriceImplement.js
Function add()
{
// some manipulation doing here
}
You should get into the habit of namespacing your JavaScript-files:
//Count.js:
// PriceImpl.js
Then call methods like
Namespace.method, i.e.Price.add()