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
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
-
There is a function corresponding to the jquery delegated event handlers ?
Example in jquery
$('body').on('form-send-success', '#dialog-make-task', function(event, response) { refreshListItem(response.id) });
If the "dialog-make-task" is created dynamically jquery run but if i write it in htmx
htmx.on("#dialog-make-task", "form-send-success", function(event) { refreshListItem(event.id) });
on load throw an error because che div is not present....
Beta Was this translation helpful? Give feedback.
All reactions