function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SurjenduKSurjenduK 

javascript/ajax from a VF page

How to go about the following usecase?

I have one text field in a VF page. The use case is when the user types something in the text field I have to rerender the page(with an additional outputText whose value is what the user is typing) with every key stroke.

For example is the user types Sales I have to rerender the page with each key stroke of Sales to http://sales.forcewiki.net

How do i do this?

This is my idea: Please validate:

I will capture each keystroke of the user using javascript and use ajax to re-render the page by passing the value of the keystroke.
What do u guys say? Any better solution is welcome.