We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With this dynamic table example:
<table> <thead> <tr> <th>Column 1</th> <th>Column 2</th> <th>Actions</th> </tr> </thead> <tbody id="table"> <tr> <td><input type="text" /></td> <td><input type="text" /></td> <td><button _="on click remove closest <tr />">Remove</button></td> </tr> </tbody> </table> <button _="on click append ` <tr> <td><input type='text' /></td> <td><input type='text' /></td> <td><button _='on click remove closest <tr />'>Remove</button></td> </tr> ` to #table">Add row</button>
The on click remove closest <tr /> handler works, until a row is added. Then only the append command will work, but disabling the remove command.
on click remove closest <tr />
append
remove
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With this dynamic table example:
The
on click remove closest <tr />
handler works, until a row is added. Then only theappend
command will work, but disabling theremove
command.The text was updated successfully, but these errors were encountered: