where js folder is under the root.
if u put this JS ref in common\SomeControl.ascx, it will work fine if SomeControl is placed on ~/SomePage.aspx because SomePage is under the website root.
How to put JS ref in SomeControl and allow it to be placed at any path on the website without losing the JS ref.
Thanks
Write this method in your asp.net page code-behind.
code-behind
page mark-up, use it anywhere on the page
you can have a common PageBase class in your application and define the method in the page-base class and make it available to all pages in your application.