t q t q - 7 months ago 17
Javascript Question

detect textbox input from iPad siri

I am currently using

keyup
paste
propertychange
to detect input into a
textarea
form field.

However when using an iPad with
siri
these properties do not detect text input.

What is the correct way tocapture siri text in a form field using jQuery?

my sample

myTxtObj.on("keyup paste propertychange", textBoxTarget, function(e){
// do something
});

Answer

Use the change event in place of (or in addition to) propertychange.