K
Kevin
Howdy,
How can I reference a function and include a parameter from a
javascript?
I need to include two inputs, xmlDoc and location, for my saveFile
function. Without those inputs, my saveFile won’t work.
var myButton = document.getElementsByName(“saveButton”)[0];
myButton.onclick = saveFile(xmlDoc,location);
Note that the code above does not work.
Thank you,
Kevin
How can I reference a function and include a parameter from a
javascript?
I need to include two inputs, xmlDoc and location, for my saveFile
function. Without those inputs, my saveFile won’t work.
var myButton = document.getElementsByName(“saveButton”)[0];
myButton.onclick = saveFile(xmlDoc,location);
Note that the code above does not work.
Thank you,
Kevin