Before the company asked to write a set of mobile phones, compatible with a variety of platforms and systems, of course, the PC is not spared.
I used the bootstrap frame and JQ. In the wirelessly right-click event only need to cancel the browser default event, and then long press can trigger PC-side right-click event, very good, a set of JS footsteps can achieve my effect.
However, in the iOS system is not good to make.
There is no way, the first solution, with the mobile phone dedicated event Touchend, but the embarrassing thing came, when requesting data, because of the ID of the reason, here can not do so.
swollen do, FQ to see how the foreigner is solved.
OK, just need a CSS style. That is to change the mouse pointer from the arrow to small hands, iOS support right-click event, and Android is the same, only need to long press on the line.
Write the CSS in the DOM I need to respond to the event Cursor:pointer
OK, okay. Perfect solution! is not very useful, if you also encounter such a problem, take it.
This is the blog park, it knowledge of the park.
The right-click event in the iOS apple system has been searched for tips that are not on the web.