Jump to content

Featured Replies

Posted

Is there a way to remove the parent HTML element data-controller JS on a child HTML element?

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.

  • Author
 

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! 🙈

Recently Browsing 0

  • No registered users viewing this page.