I need to use the picture button to beautify my web, but using the connection method will appear in the browser bar variable values, so it seems uncomfortable, if you use hidden to submit, and feel unnecessary, because since the image has the Name property, it should be able to fetch, why should add a variable? Posted in BBS for a few days also no one answered, I can only find a way to read their own, and then found!
The image in the form, as a submit, produces two related variables, such as:
Then, during the commit process, two variables are generated, for aaa_x and aaa_y
which contains the exact position of the picture on the screen x and Y
And then, in PHP, just Judge Aaa_x and aaa_y.
Do not need any hidden fields, JavaScript, and concatenated value behavior!
Test pass, you are welcome to test, if there is a problem, please contact me Ah!
http://www.bkjia.com/PHPjc/315267.html www.bkjia.com true http://www.bkjia.com/PHPjc/315267.html techarticle I need to use the picture button to beautify my web, but using the connection method will appear in the navigation bar variable value, so it seems uncomfortable, if you use hidden to submit it, ...