Scandal
Well-known member
Hello all!
Well, we have a page with some content (entries) and checkboxes.
If I initially load the page, this checkbox works as expected and checks all the checkboxes at once:
... but if I load via ajax the page's content afterwards (which content still have entries via the same way), the "Select all" checkbox stops working for these entries.
Just to notice that the ajax content was loaded via the
Any idea to make "Select all" working with the ajax loaded content?
"Select all" checkbox is not touching from the ajax replacements, is on the "static" part of the page, not the ajax dynamic.
Well, we have a page with some content (entries) and checkboxes.
If I initially load the page, this checkbox works as expected and checks all the checkboxes at once:
HTML:
<xf:checkbox standalone="true"><xf:option check-all=".block-container" label="{{ phrase('select_all') }}" /></xf:checkbox>
... but if I load via ajax the page's content afterwards (which content still have entries via the same way), the "Select all" checkbox stops working for these entries.
Just to notice that the ajax content was loaded via the
XF.setupHtmlInsert();
and XF.activate($html);
Any idea to make "Select all" working with the ajax loaded content?
"Select all" checkbox is not touching from the ajax replacements, is on the "static" part of the page, not the ajax dynamic.