0

Posted this question:

If Not A HREF Javascript then what [e.g. mobile phones]

Using [php]

echo "<input type='image' src="someimage.gif" alt='Some Image' onclick='yourFunction()' />";

That code is in myphp.php

I call myphp.php.

When I click on the image it executes the javascript function [just an alert to test] and then it places "?x=8&y=8" on the end of myphp.php giving myphp.php?x=8&y=8 [with 8 and 8 seemingly random single digit numbers].

What's going on here? Anything to be concerned about?

Community
  • 1
  • 1
user667925
  • 13
  • 5

1 Answers1

2

It is sending the coordinates of the image, the exactly the place where the user clicked, i don't think you should be concerned about this.

Ibu
  • 42,752
  • 13
  • 76
  • 103