1. Home
  2. Computing & Technology
  3. Perl
Perl Blog

From About.com

In-Depth with CGI.pm - Creating an Image Based Submit Button

Thursday September 6, 2007
Tired of the old, standard submit buttons? Here's a quick CGI.pm way to get an image based submit button for your forms. Not only will this submit the form when the image is clicked, but it will return the x/y coordinated of the click as a parameter set along with the rest of the form fields, so you could even do different things based on where the user clicks the image. Continuing our tutorial on creating HTML form elements with CGI.pm, let's look at how to create buttons from images with CGI.pm.

In-Depth with CGI.pm - Creating an Image Based Submit Button
Explore Perl
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Perl

©2009 About.com, a part of The New York Times Company.

All rights reserved.