How To Insert Variable Into JavaScript Action

See Execute a JavaScript in Browser actions

Is there some reason this would not work:

var imageSizeStr = 'l' + document.kmvar.ImageSizeStr + 'x';
return "!["  + p1 + imageSizeStr // + the rest of this line
1 Like