JQuery version is 1.3.2
There is a checkbox :
<input type="checkbox" id="flag_concept" name="flag_concept" value="1" />
On document load I want it to be checked :
$(document).ready(function(){
    {/literal}
    { if $oConcept->flag_encours == 1}
    {literal}
    $('#flag_concept').attr('checked','checked');
    {/literal}
    {/if}
    {literal}
});
But it doesnt work !
 
     
     
     
    