Part 1:
Is there any event that I can use to receive a callback when the user "changes" the input field. My definition of change is to model the next effect. let's say I want to update the label when the user enters text in the input field. I tried the jquery "change" event. It works, but does not have a live effect. Once the input field is updated, I have to click somewhere on the screen to update the label.
Part 2:
Well, if this is not a good idea, I can prevent the form from being submitted to the input key. Not sure if this is a good way to do this. A quick search found this answer.
<form action="" method="post" onsubmit="return false;">
not tested yet, but hopefully the submit button may work.
EDIT: checked and onsubmit = "return false;" prevents even the submit button.
thanks,
BSR
source share