in reply to Re^3: perl cgi standalone checkbox label problem
in thread perl cgi standalone checkbox label problem
The complete output I get:#!/usr/bin/perl use CGI qw/:standard/; print CGI::header; print CGI::start_html; print CGI::checkbox(-name => 'my_checkbox', -checked => 0, -value => 'on', -label => 'label of my checkbox. Check Me!!!', -labelattributes => { id => 'checkboxlabel_id' } ); print CGI::end_html;
Could this be any problem of my machine or whatsoever? I mean, I just copied and pasted your code! Or have I put in any error again?<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-U +S"> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 +" /> </head> <body> <label><input type="checkbox" name="my_checkbox" value="on" labelattri +butes="HASH(0x825cd28)" />label of my checkbox. Check Me!!!</label> </body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: perl cgi standalone checkbox label problem
by Your Mother (Archbishop) on Apr 06, 2009 at 22:01 UTC | |
by polki (Novice) on Apr 06, 2009 at 22:11 UTC | |
|
Re^5: perl cgi standalone checkbox label problem
by ig (Vicar) on Apr 06, 2009 at 22:12 UTC |