When I pass a function call via javascript such as " update_metdata1.met OC110414051352~edit_mets ", I intend to run the function update_metdata1, passing it two parameters, OC110414051352 and edit_mets. edit_mets also happens to be the name of another function in the .met file that runs different code.
What ends up happening is the function edit_mets runs instead of update_metdata1.
Is there something I am doing wrong?
Thanks,
Laurin