문제

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
});
도움이 되었습니까?

해결책 2

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

다른 팁

Use the input event. The change event will only detect when you switch focus.

Tested on iPad mini iOS 9.3.1

myTxtObj.on('input keyup paste propertychange change', textBoxTarget, function(e) {
    // do something
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top