halo..need some help on this code . i m not understand wat is this code mean? can some one plz help? thanx obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible'; Code (markup):
it is the same as: if(obj.style.visibility == 'visible'){ obj.style.visibility ='hidden'; }else{ obj.style.visibility ='visible'; } ...makes an element visible when it is hidden and vice versa