sobrenome Posted November 11, 2020 Posted November 11, 2020 Is there a way to remove the parent HTML element data-controller JS on a child HTML element?
bfarber Posted November 12, 2020 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
sobrenome Posted November 12, 2020 Author 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
Recommended Posts