I want to display a div on each button click and also want to hide the other all divs how I can do it.
HTML
Just start by hiding all other div's, then showing the one you want to be shown.
$('#w').live('click', function(){ $('div').hide(); $('#a').show(); });