in reply to Re: output div tag inside html
in thread output div tag inside html
this is wat i mean now
i want to get
<li> #Foo </li> <li> #bar </li> <li> #moo </li>
use CGI::Pretty ":standard"; @names = ('Foo', 'Bar', 'Moo'); my $str = join(" ",@names); $data = li ( div({"class='inforno'"}, "<img src='inforno>'"), div({"class='inforno'"}, "<a href='#' class='inforno'>$str< +/a>"), span({"class='inforno'"}, "<a href='#' class='inforno'> Edit user </a>") ); print "$data\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: output div tag inside html
by Your Mother (Archbishop) on Sep 13, 2018 at 18:23 UTC | |
by bigup401 (Pilgrim) on Sep 13, 2018 at 21:34 UTC | |
by marto (Cardinal) on Sep 14, 2018 at 11:35 UTC | |
by bigup401 (Pilgrim) on Sep 14, 2018 at 11:55 UTC | |
by marto (Cardinal) on Sep 14, 2018 at 11:56 UTC |