I am working on a tool that displays nested content. And to add a child to any particular node, I want a form that displays within the same (sub-)container that the parent node is in.
If I were not using Yii, I could easily have a jscript write in the form and form elements where I want them, call the action script through AJAX (again through JS) and then redraw the content with the new child once I get the success flag from the action script.
Within Yii, how do I process an inline form but ensure that the whole page does not reload or navigate to the action script?
(Am a newbie, so apologies for asking this question if it’s already been asked and answered - and I did search for similar problems, but could not find one that I could understand…)