The following example will demonstrate you how to show and hide div elements based on the selection of radio buttons. hey i'm new to using Javascript and am really struggling!!! Hello Everybody, I am trying to show and hide a table on the OnClick of a link. Hide and show menu if button clicked and change the icon. ... Show line numbers By selecting the radio button, have to show the appropriate DIV (following its #ID). For those non-professional programmers, a handy minimal version. HTML tutorial on using javascript onclick event the HTML form elements hide and show By default the both DIV's should be hidden. Hi, I have 4 radio buttons with separate div(s) I need to click on each radio button to show particular div(s) but I am not getting correct result Lease help Showing & hiding div layers on button ... Demo of Show hide div layer onclick of buttonsHide