I want to change the text color only 1 word inside the textbox.
[abcdefg “Availability” hijklm]
This code can change color only this text
[ “Availability” ]
Please tell me the code can change color only 1 word.
Thank you
You can try using one of the following JS methods within your condition to check for a specific word in a string and then set its inline style as you did.