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>
In reply to Re^4: perl cgi standalone checkbox label problem
by Anonymous Monk
in thread perl cgi standalone checkbox label problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |