Selecting radial button according to its value jQuery / Javascript
<p>what im trying to achieve might be very simple but im stuck. Im tiring to select few radial buttons dynamically with its values by retrieving it from an object when the page loads. Here is what im trying:</p>

<pre><code>var t_info = obj.tinfo;
var h_info = obj.hinfo;

$('input[value='+ t_info +']').attr('checked', 'checked');
$('input[value='+ t_info +']').change();
$('input[value='+ h_info +']').attr('checked', 'checked');
$('input[value='+ h_info +']').change();
</code></pre>

<p>none of the radial buttons get selected on page load. </p>
