Da gibt's eigentlich nicht viel mehr zu sehen, als oben, ich versuch's nochnmal (natürlich eingekürzt):
Auf der Console werden "SHARED" und "construct" ausgegeben, nicht aber "shared"
###[VISU.JS]###
VSE_VSEID_CONSTRUCT=function(elementId,obj) {
visuElement_callPhp("construct",null,null);
};
###[/VISU.JS]###
###[VISU.PHP]###
<?
function PHP_VSE_VSEID($cmd,$json1,$json2) {
?>
console.log('<?echo $cmd;?>');
<?
};
?>
###[/VISU.PHP]###
###[SHARED.JS]###
visuElement_callPhp("shared",null,null);
console.log('SHARED');
###[/SHARED.JS]###
VSE_VSEID_CONSTRUCT=function(elementId,obj) {
visuElement_callPhp("construct",null,null);
};
###[/VISU.JS]###
###[VISU.PHP]###
<?
function PHP_VSE_VSEID($cmd,$json1,$json2) {
?>
console.log('<?echo $cmd;?>');
<?
};
?>
###[/VISU.PHP]###
###[SHARED.JS]###
visuElement_callPhp("shared",null,null);
console.log('SHARED');
###[/SHARED.JS]###
Kommentar