Hi,
I am using a local inline editor with submit on blur which works just fine.
Now, I also want to submit just edited values when the submit button of the whole form is clicked. However, when the submit button is directly clicked, the submit on blur does not take effect.
Therefore, I call a JavaScript function before the actual submit action. In the JavaScript function I manually trigger editor.submit()
. This also works fine as you can see in this example.
However, when I use the same submit()
JavaScript function in my code, the editor
variable is always undefined
.
Any idea what could cause this issue?
Can this be narrowed down to some specific calls which I could post here? I do not want to post the whole JavaScript code here.