AlexTape has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks
I want to generate a dynamic button with cgi.pm
$var_Typ = "variable"; $q->button(-id=>"$var_Typ-parm-toggle", -value=>'show/hide', -onClick=>"toggle_visibility('$var_Typ');", -name=>"show table"),
but i dont get what i want:
<input type="button" name="show table" value="show/hide" onclick="toggle_visibility('variable');" id="variable-parm-toggle" />
the & # 3 9 should be a simple ' to get up with the js function..
now i seek for your advice...
$perlig =~ s/pec/cep/g if 'errors expected';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: double qoute inverted comma problem
by Your Mother (Archbishop) on Aug 03, 2011 at 15:29 UTC |
Back to
Seekers of Perl Wisdom