0

Javascript concatination

how do you concatenate column Field from mysql into image src inside a template in JavaScript. like so column[ { field:participantsig, ............, template:" <img src='.../.../.../images/" .participantsig." ' width='150' " />", } ] resut is broken image, image name in mysql but actual image is in local folder

16th Sep 2018, 2:15 PM
Rolivhuwa Tshivhase
Rolivhuwa Tshivhase - avatar
2 Answers
0
Use "foo" + foo + "foo"
18th Sep 2018, 2:33 AM
Alexander Santos
Alexander Santos - avatar
0
thanx il try that out
18th Sep 2018, 4:42 AM
Rolivhuwa Tshivhase
Rolivhuwa Tshivhase - avatar