after my AJAX requests i change the structure of my present pages just by replacing the content of some named elements with the loaded content. Works fine.
If the content contains a html form the form is - well - unknown to the browser. That means there is no effect by pressing CR. To submit the form the user has to press the submit button by mouse or use TAB until the focus is at the submit button and then use CR. That works fine too, but is not acceptable for long terms.
Assuming the browser loads normal html files by organizing the elements in a tree and processing the tree afterwards to get the form, get the submit buttons, get especially the configured key codes.
By searching i have not even found this question and so no answer. I think I am not the only one who loads forms with AJAX. So if that's the wrong question and there is any other solution, please tell me.