I use JQuery textboxes for entering data for my applications. This worked very well in the past, but with recent versions of iOS when I tap on one of the textboxes I now see the last character being highlighted and the Apple “Copy, Lookup, Translate, Share…” dialog pops up.
When I tap the textbox (Jquery) it calls up a custom keyboard I made for numeric entry (allowing the “-” sign and “e” for exponent).
Here’s a sample of my “onclick” code for the textbox:
Function enterPressure_onclick() Keypad.style.display="block" SetBackgroundColor() enterPressure.style.backgroundColor="#666666" enterPressure.style.color="#ffffff" enterPressure.setSelectionRange(Len(enterPressure.value)-1, Len(enterPressure.value)) EntryName=enterPressure Keypad.style.webkitTransform=MoveThisAmount Keypad.style.webkitTransitionDuration="500ms" End Function
When I tap the textbox I’d like the behaviour to be the same as for earlier versions of iOS. No text selected and no "Copy, Lookup … " dialog popping up. Any help would be greatly appreciated.