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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -