I guess I'm needing some baby steps to get through a project I'm working on.
I have a form that I'm trying to auto-upload a file to. I'm accomplishing this by attempting to override the submit event beforehand, and drop the file path info in there before actually submitting it.
So far, it's not working.
I've tried attaching an event handler to onsubmit and onclick, but when I invoke the click event of the button (actually a # anchor), it flags a script error before jumping to my handler.
Is there another event I should be trying first? onNavigate? I just don't know...