Capture the value entered in Input field .
I have a BSP application embedded in a PCUI application. In the BSP, i have many input fields.
When I edit the input field, the value is not gettng captured unless I hit the <enter> key.
User is not aware of this, so it is not user friendly too.
Is there any way that I can capture whether the input field is edited or not?
Please note the layout is designed using the tag <htmlb>.
Anubhav Jain replied
With the following code it is possible to call the different events that are available
in HTML for a HTMLB inputField.
<bsp:findAndReplace find = "<input" replace = "<input onChange > <htmlb:inputField id = "t2" value = " " alignment = "left" /> </bsp:findAndReplace>
You can capture the value of input field onChange or onBlur events...using JS.