Home  |  Linux  | Mysql  | PHP  | XML
From:Bill Stephenson Date:Tue Apr 13 14:46:46 2010
Subject:Re: <button> tag?
On Apr 13, 2010, at 1:00 AM, Fabian Gut wrote:

>> Is this what you want?
>>
>> print $Q->submit(-name=>'start_button',
>> -label=>'Start Button');
>
> No, that produces <input type="submit".......>
>
> What I want is something like this:
> <button>foo</button>

I look at the source code for the latest version of CGI.pm and did not
find support for that tag.

You have other options. You can always write your own sub-routine to
create the tags you want, and you can even use a local copy of CGI.pm
and add a subroutine (function) to it so you can use the syntax you
want. It's really pretty easy to do.


Kindest Regards,

--
Bill Stephenson

Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next


Your recent visits
ERROR: malformed header
Re: ERROR: malformed header
The page is not loaded and apache writing errors to log.
Re: The page is not loaded and apache writing errors to log.
Perl CGI



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants