Can you send parameters to a .js file??
Printable View
Can you send parameters to a .js file??
Not sure what you mean here. A .js file is a javascript file. A .js file typically just holds javascript functions so you can just include them in your html page without having to have a bunch of script code in your html page. You can pass parameters to functions that take them in the .js file.
Do you have an example on this?
Here ya go, hope this helps....