mailmeakhila has asked for the wisdom of the Perl Monks concerning the following question:
Below is part of my perl script:<script type="text/javascript"> function removeRow(src) { var oRow = src.parentNode.parentNode; document.getElementById("cart").deleteRow(oRow.rowInde +x); var title = oRow.cells[0].innerHTML; document.write("<scr"+"ipt language='javascript' src=' +http://localhost/sellaphone/temp.pl?title'></sc"+"ript>"); } </script>
Any help is really appreciated. Thank you Akhila.if ($title) { push @{$cart}, {TITLE=>$title,ANS1=>$a +ns1,ANS2=>$ans2,ANS3=>$ans3,ANS4=>$temp}; $session->param("CART",$cart); } my $template = HTML::Template->new(filename => +'checkouttemp.html'); $template->param(ROWS=>$cart); print $template->output(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Javascript to edit cookie set by perl
by Corion (Patriarch) on May 22, 2012 at 17:37 UTC |