
Originally Posted by
JohnnyZipper
Can Anyone help me, brains not working.
Thank you.
Hah yes, mixing quotes can be painful. You'll probably want to use double quotes in the function call so you'll have to escape the single quotes around the attributes.
e.g.
Code:
thumbContent = thumbContent + '<a href=\'javascript:viewPic("'+ contact[i].ThumbnailUrl + '", "' + contact[i].Name + '", "' + contact[i].Description+ '")\' ><img src="'+contact[i].ThumbnailUrl+'" border="0" width="134" height="78" /></a>';
Bookmarks