index.html
<head> <link rel="stylesheet" href="/test/thickbox.css" type="text/css" media="screen" /> <script language="javascript" type="text/javascript"> // <!-- document.getElementById('TB_overlay').onload = function() { document.getElementById('Formularz').onsubmit = formularz; } function formularz() { return false; } // --> </script> </head> <body> </body>
formularz.html
<form id="Formularz" name="Formularz" method="post" action="index.html"> <fieldset> </fieldset> <fieldset> <input type="radio" value="m" name="plec" checked="checked" /> m <input type="radio value="k" name="plec" /> k </fieldset> <fieldset> <input type="checkbox" value="jagoda" name="kolor" /> niebieski <input type="checkbox" value="jablko" name="kolor" /> czerwony <input type="checkbox" value="arbuz" name="kolor" /> zielony <input type="checkbox" value="pomarancz" name="kolor" /> pomarańcz </fieldset> <fieldset> <input type="submit" value="Zapisz" /> </fieldset> </form>
Można podejrzeć:
http://one-studio.pl/test/