Concatenate String
- by João Madureira Pires
Hi there.
I have the following javascript function:
<script type="text/javascript">
function quickCardRegister_OnCompleteSave() {
publishContent('This is a description',#{imagePath},'http://www.lala.com');
}
</script>
The imagePath variable is populated with value: http://localhost/img/30_w130px.gif
I'm having the following script error: missing ) after argument list
publishContent('This is a description',http://localhost/img/30_w130px.gif,'http://www.lala.com');
How can i surround http://localhost/img/30_w130px.gif with quotes?
Thanks