Page 1 of 1

getting src of img tag dynamically

Posted: 09 Jul 2018
by bc101820
I have a list which has people's images with the title of theirname + id .
I also have a main form which includes the number field cimtasid and lookup field namesurname(as their name) .
What I want to do is getting the url of their name + id so that I can assign it to the src of img tag. But I can not join these values together.
I mean, var object = namesurname + id : How can I do that ?

Note : id is a unique value that company gives.

Your help is appreciated, Thank you !

Re: getting src of img tag dynamically

Posted: 09 Jul 2018
by Nikita Kurguzov
Dear bc101820,
What do you mean by "can not join"? Is there some error you are getting, or a result that doesn't match your expectations? Is the issue getting the name and the surname from a lookup field or something else?