Mikijs Posted March 12, 2009 Report Share Posted March 12, 2009 Sveiki, vēlos izveidot listes printēšanu. <form method="post" action="<?=url("print")?>"> <ul> <? while($array=dbarray($query)){ makeStrings(); ?> <li><input type='checkbox' id='chk<?=$id?>' name='printCheckbox[<?=$id?>]' value='y'><label for='chk<?=$id?>'> <?=$title?></label> <? } ?> </ul> <input type='submit' value='Print'> </form> ka lai nosubmito lapu ta lai submits butu jauna loga ? domaju ka varetu but <input type="submit" onclick="new.Window("name1","#");"> un <form method="post" action=".." target="name1"> ? Quote Link to comment Share on other sites More sharing options...
0 Paulinjsh Posted March 12, 2009 Report Share Posted March 12, 2009 kāpēc tu gribi submitot ar javascript? pietiek jau ar to, ka norādi formai target="_blank" Quote Link to comment Share on other sites More sharing options...
Question
Mikijs
Sveiki, vēlos izveidot listes printēšanu.
<form method="post" action="<?=url("print")?>">
<ul>
<? while($array=dbarray($query)){ makeStrings(); ?>
<li><input type='checkbox' id='chk<?=$id?>' name='printCheckbox[<?=$id?>]' value='y'><label for='chk<?=$id?>'> <?=$title?></label>
<? } ?>
</ul>
<input type='submit' value='Print'>
</form>
ka lai nosubmito lapu ta lai submits butu jauna loga ?
domaju ka varetu but
<input type="submit" onclick="new.Window("name1","#");">
un
<form method="post" action=".." target="name1"> ?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.