I have a piece of code which currently executes a particular function when a radio button is clicked. This button has to be removed(or at least hidden). How can I call this function, without actually clicking the button. Is there a way of simulating a radio button click from within the code.
Any suggestions are appreciated
Thanks
jlawler
Code:
<input type="radio" name="lc_category" value="<%= productCategory.getCategoryPK() %>" <b>onClick=</b>"javascript: setOnChangeAction('selectqq', 'lc_type<%= productCategory.getCategoryPK() %>', 'lc_category', '<%= productCategory.getCategoryPK() %>', <%= arrayIdName + "[" +selectedIndexCode+"]" %>);" >
Any suggestions are appreciated
Thanks
jlawler