Not fully working jQuery script which changes div content

king of kings

New Member
so my problem is here:http://jsfiddle.net/hskhu/When i click "Rejestracja" Link, it changes content of div, but after this when i try to click "logowanie" link nothing matters, i dont know why can someone help me? all divs with contents of Rejestracja and logowanie are under html with display:none atributeJS here:\[code\]<script> $(document).ready(function(){ $('#change').click(function(){ var $which = $(this).html(); var $wyjmij = $('#' + $which).html(); $('#loginbox').html($wyjmij); }); });</script>\[/code\]
 
Back
Top