BUTTON

I am Spartacus spartacus at home.aafp.org
Sat Sep 7 18:55:30 CDT 2002


exactly why are you trying to produce the HTML you referred to?  i don't 
believe that <button> is valid HTML.  if you're simply wanting a 
clickable image that is used as a form button, use the $query->image_button.

Gene Dascher wrote:

>This is a question for those of you who speak Perl:
>
>
>What CGI.pm call do I need to use to produce the following HTML code:
>
><button><img src="/graphics/remove.gif"></button>
>
>I have tried both $query->button(), which gives me <input type="button...>
>and $query->image_button, which gives me <input type="img"...>;  neither of
>those results are desirable.
>
>Thanks,
>Gene
>
>
>
>  
>




More information about the Kclug mailing list