getting src of img tag dynamically
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 !
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 !
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
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?
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?
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests