How to set a value for an input with javascript |
How to set a value for an input with javascript |
The_webmaster |
Jul 16 2021, 04:37 AM
Post
#1
|
Member Group: Members Posts: 40 Joined: 5-February 21 Member No.: 27,773 |
Please help, I have a page like a chat page and when a user post a message it displays the user's name, So i made the user's name to be clickable so that when the user's name is clicked the name would become the value of the message input. I tried doing it but when a name is clicked the first name on the message would become the value of the input instead of the name I clicked. Thanks in advance
|
The_webmaster |
Jul 17 2021, 04:33 AM
Post
#2
|
Member Group: Members Posts: 40 Joined: 5-February 21 Member No.: 27,773 |
Thanks for your reply, I've gotten what i want
|
Lo-Fi Version | Time is now: 27th April 2024 - 09:24 PM |