Re: How to make use of the same Javascript file for different forms with different number of elements??
Posted By:
Vasu_Devan
Posted On:
Wednesday, April 11, 2001 10:38 PM
If you want the same function to be used across many html files, put the function in a file, say func.js and in the htmls where you want use it, include it using,
or, if you want to use the same function for different elements which may have different names, you can pass the element to the function using 'this'.