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
@paltman Sorry - not sure where else to ask questions and the issue that was similar to this went has gone unanswered for a while.
My javascript skills aren't the strongest. I'm more of a PHP guy.
Is it possible to trigger an event on page load? Let's say I'm serving a static HTML file, but I have a bit that I want to refresh. I would assume I could simply trigger the eldarion-ajax:success event on that element, but it doesn't seem to be working currently.
<div id="loading-bay" class="refresh-on-load" data-refresh-url="/test/baytwo" class="ajax">
This is the loading bay.
</div>
<script>
$(document).ready(function() {
$('.refresh-on-load').trigger('eldarion-ajax:success');
});
</script>
Is this correct?
The text was updated successfully, but these errors were encountered:
@paltman Sorry - not sure where else to ask questions and the issue that was similar to this went has gone unanswered for a while.
My javascript skills aren't the strongest. I'm more of a PHP guy.
Is it possible to trigger an event on page load? Let's say I'm serving a static HTML file, but I have a bit that I want to refresh. I would assume I could simply trigger the
eldarion-ajax:success
event on that element, but it doesn't seem to be working currently.Is this correct?
The text was updated successfully, but these errors were encountered: