I have a set of 4 radio buttons, which when clicked show/hide divs on my page.On unsuccessful validation of my form I return the user back to the form with last clicked radio button checked.The issue I have is it does not show/hide the divs as in this instance the radio button isnt being clicked.What I want to be able to do is on page load detect which radio button is checked and then fire a click event. (ie simulate someone clicking that radio button) so that it then shows/hides my divs.My code to show hide looks like this\[code\]$('#showduo').click(function(){$('div[id^=div]').hide();$('#div1').show();\[/code\]