onclick() event works well, how to make the radio button be selected in page after use onclick()?
Question1: I used onclick() event in the radio button.
<label><input type="radio" id="r_1" onclick="return SelectTab('tab_1');" name="srhType" value="EXACT" />Exact</label>
<label><input type="radio" id="r_2" onclick="return SelectTab('tab_2');" name="srhType" value="ALL" />All</label>
onclick() event works well, but the radio button could not be selected in page after use onclick().
How to make the radio button be selected in page and do not give up onclick() event?
Question2: I have pageA and pageB. New page will be opened in pageA after I click the link in pageB. But the focus still on pageB althrough pageA is refresh.
How to get the focus in pageA when open the new page in pageA?
Thanks a lot!