RSS Feed/News <xf:option check-all=".block-container"> not working with ajax loaded content

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,163
Points
823

Reputation:

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:
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...

Read more

Continue reading...
 
Status
Not open for further replies.
Top