Hello guys! Hope you're fine!?
I have a little problem here as I would like to call a Javascript/Ajax function on submit.
I have a page item of type text with submit when enter is pressed.
In the element html attribute region I wrote the following code to call the function :
onSubmit="html_ShowElement(AjaxLoading);"
The code itself simply calls a function that displays a progress bar.
I already tried an alternate version
onSubmit="html_ShowElement('AjaxLoading');"
.
Nevertheless, the code is not called.
When I call the second code from a button, everything works as it should.
Do you have an idea what's wrong?
Thanks a lot for your hints!
Regards,
Sebastian