A WPF or Silverlight RichTextBox equivalent in HTML5 that would allow implementation of custom autocomplete feature on a TextBox

I am looking for an HTML5 equivalent of a RichTextBox control of the kind we have in WPF or in Silverlight. I have a Silverlight application in which I use a RichTextBox to create some custom functionality which shows, in a popup, a word starting with the letters matching the first few characters you type in the TextBox. Once this popup shows, you can just press the space key to get the full word typed in the TextBox without have to type the full word. When I built this functionality in my Silverlight application I used KeyUp and KeyDown events of the RichTextBox to respond to they keys pressed by the user. I also use TextPointer Class to get the letters being typed by the user when he starts typing a new word. I would now like to create a copy of my Silverlgiht application using HTML5 and some other library like React.Js. I would appreciate some guidance on which HTML5 control or elements I can use to implement this kind of functionality. Many thanks for your help. Please see the image which explains the functionality I wish to create in my web application.
As the image below shows as soon as the user types the a few letters (in this bec) a promt appears just below the letters typed which shows a word (because) whose first three characters match the letters typed by the user.

.An image to display the functionality I need to implement in an HTML 5 element or control
LVL 1
FaheemAhmadGulAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
Textbox autocomplete is relatively easy
https://www.w3schools.com/howto/howto_js_autocomplete.asp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FaheemAhmadGulAuthor Commented:
Thank you very much for your guidance. The link you provided was very helpful. However, I need to implement this autocomplete functionality in a TextArea or some other bigger RichTextBox like text control where you can enter multi line text. I would appreciate some guidance on how this would be accomplished in such a control.
0
FaheemAhmadGulAuthor Commented:
Many thanks. Greatly appreciated.
Regards
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.