Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
if (false === dojo.query("input[name=forPeriod]")[0].checked){
                            dijit.byId('_intervalUnit_id').set('disabled', true);
                            dijit.byId("_fromMonth_id").set('disabled', true);
                            dijit.byId("_fromYear_id").set('disabled', true);
                        } else {
                            dijit.byId("_intervalUnit_id").set('disabled', false);
                            dijit.byId("_fromMonth_id").set('disabled', false);
                            dijit.byId("_fromYear_id").set('disabled', false);
                        }
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers