Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted by pourabed ( 11 years ago )
$(document).ready(function(){
    var myArray = ['1', '2', '3', '4', '5'];
    $('select').each(function(){
        var items =  myArray[Math.floor(Math.random() * myArray.length)],
             opti
            option;
             
         opti
    });
});

 

Revise this Paste

Your Name: Code Language: