Keşfet

Changing the var for a <xf:set> tag via JS

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
5,500
Tepkime puanı
287
Konum
Türkiye
Web sitesi
fivetu.xyz
If I am sending the following collections to a template $visibleBlogPosts, $draftBlogPosts, $scheduledBlogPosts, $deletedBlogPosts and have a xf set tag as so
<xf:set var="$blogPosts" value={$visibleBlogPosts} />

Is there a way using javascript to change the value $blogPosts to a different one since they have already been passed to the template?
 

Konu görüntüleyen kullanıcılar

Geri
Üst Alt