sobrenome Posted November 11, 2020 Share Posted November 11, 2020 Is there a way to remove the parent HTML element data-controller JS on a child HTML element? Link to comment Share on other sites More sharing options...
bfarber Posted November 12, 2020 Share Posted November 12, 2020 Can you clarify what you are after? Parent and child elements can manipulate each other in javascript so I guess the answer to your question may be "yes" but I'm not entirely sure what you are asking specifically. sobrenome 1 Link to comment Share on other sites More sharing options...
sobrenome Posted November 12, 2020 Author Share Posted November 12, 2020 1 hour ago, bfarber said: Can you clarify what you are after? Parent and child elements can manipulate each other in javascript so I guess the answer to your question may be "yes" but I'm not entirely sure what you are asking specifically. It was my bad. My HTML code was incorrect. Now that HTML 5 standard is ok, the parent data-controller is not affecting the child. Thanks! 🙈 bfarber 1 Link to comment Share on other sites More sharing options...
Recommended Posts