Hi
i have 2 radio buttons
and i used mootool while loading as
window.addEvent('domready', function() {
var chk="1";
if(chk==1){
$('edit-gender-0').set('checked',true);
}
else if(chk==2){
$('edit-gender-1').set('checked',true);
}
but its not working at all.
any one help me will be more appreciated... and anyother short way without if condition