Hi All,
I have a session variable @session[:itemsChecked] in my controller and
in my view, I have a check box, whenever the checkbox is clicked the
value 1 should be put in the session, if unchecked the value should be
removed.
<%= check_box_tag("result", 1, true,
:onclick=>{....something..}) %>
what should be the something?
Whats the best possible way to do this?
Regards
Gnan