Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <center>Interesuje Cie ten kierunek?<br>
- <input type="radio" id="zgoda_tak" name="formularz_radio" value="tak">tak
- <input type="radio" id="zgoda_nie" name="formularz_radio" value="nie">nie
- <p id="p">
- <div id="formularz" style="display: none;">
- <input type="text" id="form_imie" value="imie"/>
- <input type="text" id="form_nazwisko" value="naziwisko"/>
- <button type="sumbit" value="wyslij oferte"></button>
- </div>
- <script>
- $(function (){
- $('#zgoda_tak').click(function (){
- console.log('elo');
- if($('#formularz').is(":hidden"))
- $('#formularz').show();
- else
- $('#formularz').hide();
- });
- $('#zgoda_nie').click(function (){
- $('#formularz').hide();
- alert('W takim razie sie pierdol farfcolui heeheheh');
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement