Anyone know if it’s possible to pass a variable into a ditto call?
For example:
function change_text(variablename)
{
document.getElementById(’main_text’).innerHTML=
[!Ditto?parents=`187`&depth=`2`&tpl=`repList`&display=`all`&tagData=`repState`&filter=`repState,"variablename",7`&sortBy=`menuindex`&sortDir=`ASC`!]
}
This is basically what I’m trying to do, or a watered down function of it.