[eluser]ibnclaudius[/eluser]
I have this code:
Code:
$("#buttom-show-register-99").click(function () {
$("#div-register-99").fadeIn(500);
$('#buttom-show-register-99').attr('id', 'buttom-hide-register-99');
});
The div fadein, but the id of the button don't change. Why?