3 ms·
Suggestion: a random button.
by kaoD 12y ago
Suggestion: a random button.
- pistle 12y ago(function(){ for(var i=1;i<6;i++){ $('.space-'+i).val(Math.floor((Math.random() * 16) + 1)).trigger('change'); $('.fill-'+i).val(Math.floor((Math.random() * 16) + 1)).trigger('change'); $('.offset-'+i).val(Math.floor((Math.random() * 8) + 1)).trigger('change'); } })()