Keşfet

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

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
4,482
Tepkime puanı
284
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

Benzer konular

Geri
Üst Alt