javascript program find the coordinate of two axis | code
<script>
function xycod()
{ var x1,y1;
x1=event.clientX;
y1=event.clientY;
alert("x-coordinate="+x1+" "+"y-coordinate="+y1);
}
<script>
function xycod()
{ var x1,y1;
x1=event.clientX;
y1=event.clientY;
alert("x-coordinate="+x1+" "+"y-coordinate="+y1);
}
0 comments: