I’ve got a form that is for entering shipping information, and will allow the user to add cargo to an existing list (ie, the form loads with just one area for cargo, but if the user has three items he/she can click “add cargo” and another area for cargo information appears.) I’m also giving the user the option to remove a cargo item from the form.
Upon first click of the ‘remove’ link, it works. Subsequent clicks do nothing - not even an error message.
Granted, I’m assuming that the issue is because the DOM has changed, so jQuery needs to be re-initialised. Is there a way to reinit jQuery so it sees the updated DOM? Or am I completely off the mark?