Tools, FAQ, Tutorials:
Values Submitted in HTML Image Button Fields
What Are the Values Submitted on Image Button Fields?
✍: FYIcenter.com
An "image" button input field does not allow viewers to enter any input values directly. But if an "image" button is clicked, the mouse position on the image button will be submitted with other input values to the processing program based on the following rules:
If you use the previous tutorial example, you can test the following cases:
1. If you click the first image button, you will get the following value submitted:
http://localhost/submit?channel=google&x=31&y=8
2. If you click the second image button, you will get the following values submitted:
http://localhost/submit?channel=google
3. If you push the third submit button, you will get the following values submitted:
http://localhost/submit?channel=google&del.x=18&del.y=8
⇒ Using HTML 'button' Input Fields
2017-04-04, 1256🔥, 0💬
Popular Posts:
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
How to use the "@(...)" expression in Azure API Policy? The "@(...)" expression in Azure API Policy ...
How To Read the Entire File into a Single String in PHP? If you have a file, and you want to read th...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...