Forums » HTML5 Framework » Can't get the touch event when testing on real web server (both Desktop and mobile) ? »
| Wasin Thonkaew | Can't get the touch event when testing on real web server (both Desktop and mobile) ? | ||||
|---|---|---|---|---|---|
|
Added by Wasin Thonkaew 10 months ago
I used the following fraction of code to receive the touch event. @ccTouchesEnded:function (pTouches, pEvent) {
It's successful and be able to show the position both for "alert()" and "label" testing on Desktop for local web server. But when I test it on the real web server in the Internet, it didn't seem to do anything. |
||||
| Hao Wu | RE: Can't get the touch event when testing on real web server (both Desktop and mobile) ? | ||||
|
Is the html page the same as in local server |
||||
| Wasin Thonkaew | RE: Can't get the touch event when testing on real web server (both Desktop and mobile) ? | ||||
|
Added by Wasin Thonkaew 10 months ago
Ohh, I thought that I got back to this post already. May be my post is lost. The problem is solved now Hao Wu, it's because I refer to one of .js file with case-insensitive in folder name. It's a problem when testing on the real server. But for local web server, it has no problem. Thanks again ! |
(1-2/2)