Friends,
The following code is live at http://www.biblescramble.com/Esther/x.cgi.
I want to put newlines where the tabs are in $insert=" Hazel Work states:
WY relocate: No";
I've tried <br>, \n, etc. What do I need?
Thanks in advance.
Jerry
#!/usr/bin/perl
use CGI qw/:standard/;
use CGI::Carp qw(carpout fatalsToBrowser);
$insert=" Hazel Work states: WY relocate: No";
$script2="function tester(){testing=\"";
$script2.=$insert;
$script2.="\"; var head1 = document.getElementById(\"head1\");
head1.firstChild.nodeValue=testing; return false;}";
print header('text/html');
print start_html(-title=>"Nanny Info", -script=>$script2),
start_form(-onSubmit=>"return tester()"),
submit,
p("<h1 ID= 'head1'>This gets replaced. </h1>"),
print end_html;
_________________________________________________________________
Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN In
Concert today. http://music.msn.com/presents?icid=ncmsnpresentstagline
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs