You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add an Edit button for each row in the HTMX delete row example. Unfortunately, I'm running into some issues and haven't been able to get it working correctly.
One specific problem I'm facing is that the tbody element has an hx-confirm attribute, but I only want this confirmation to apply to the .danger button. Can I do it without attribute repetition?
I'd really appreciate any guidance or suggestions you might have!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I'm trying to add an Edit button for each row in the HTMX delete row example. Unfortunately, I'm running into some issues and haven't been able to get it working correctly.
One specific problem I'm facing is that the
tbodyelement has anhx-confirmattribute, but I only want this confirmation to apply to the.dangerbutton. Can I do it without attribute repetition?I'd really appreciate any guidance or suggestions you might have!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions