jquery - Insert Business Catalyst Template Tag -
hi guys trying , if statement business catalyst
in bc give template tags ie {module_webapps,5502,a,}
i trying run if statement add code div.
var pathname = window.location.pathname;  if(pathname == '/test') {  //var mod = "{module" + '_' + "webapps,5502,a,}";  $('.comment-box').html("{module" + '_' + "webapps,5502,a,}");   //alert(mod); }   it come through shows text in webpage , doesnt run code.
you can't that. module needs in form {module_webapps,5502,a,} @ server side rendering engine pull data out. assembling @ client end nothing.
Comments
Post a Comment