I am dynamically adding DOM elements via a JSON call and then I submit the form to the server, the problem I am having is that I cannot find the newly created DOM objects in the map (HttpServletRequest.getParameterMap())
Is there a common practice for that problem?
I would really appreciate your help thanks…
Two things to check:
A quick way to check this (in Chrome at least) is to right-click on the dynamically created element and select “Inspect Element”. This will show you the element that was generated and the HTML.
Other than that, the elements should be submitting ok. You can also check this by using the “Network” tab in Chrome’s developer tools. (On mac: View -> Developer -> Developer Tools, not sure how to get there in Windows)