What's new

event click

lipemh

iPF Noob
Hello, I did a project in HTML 5 and I'm in trouble to capture the event click on the iPad, I believe this problem should occur on the iPhone too.

Code:
<body onload="border()" onclick="drawLine(event.clientX, event.clientY)">
    <canvas id="mycanvas" width="800" height="600">
        Gain access to this script with a browser that supports HTML 5 canvas
    </canvas>
  </body>

Could anyone help me?

Thanks
 
Someone develops iPad or iPhone?

no need to solve exactly the problem of html5, can be even in some application.
 

Most reactions

Back
Top