I am new to rubyonrails any help is very appreciated.
In my view I have two radio buttons and based on their value I need to
invoke different part of the same view.
I wonder how can I check the if these raido buttons were selected.
I think I need to use “event observer” and “ajax” but I can not make it
so far I have this:
if($sChk == true )
However I don’t know how to check the value that is returned by
chkShowItem or even if this is the correct approach.