Kapalı

Quick Javascript Fix

I have a script that select 6 random numbers, need to pick only unique numbers.

<script type="text/javascript">

var picked = 0;

var myNumbers = new Array();

function pickIt(value) {

var numberpicked = 'pick_' + picked;

var numberpicked_ = 'number_' + value;

myNumbers[picked] = value;

[login to view URL](numberpicked).value = value;

[login to view URL](numberpicked_).className='selectedNumber';

[login to view URL](numberpicked_).onclick="";

picked++;

if(picked == 6) {

[login to view URL][0].submit();

}

}

function autoPick() {

var min = 1;

var max = 60;

for (k = 0; k < 6; k++) {

var random = [login to view URL]([login to view URL]() * (max - min + 1)) + min;

pickIt(random);

}

}

</script>

Beceriler: Javascript

Daha fazlasını gör: max k, javascript max, array random numbers, text javascript, javascript math function, math javascript function, quick function, array javascript, math script, cgi perl forms submit javascript, getaconcept, pickit, javascript submit forms, javascript array, math type, javascript function text, javascript floor, fix javascript function, javascript math type, getelementbyid, javascript random pick, max javascript, javascript onclick, javascript random, unique javascript

İşveren Hakkında:
( 37 değerlendirme ) Pompano Beach, United States

Proje NO: #6521787

Bu iş için 41 freelancer ortalamada $20 teklif veriyor

kchg

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde30%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(184 Değerlendirme)
8.8
KatrinaQ

A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(175 Değerlendirme)
7.1
pixelke

A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(105 Değerlendirme)
6.9
mondersky

let's start .

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(105 Değerlendirme)
6.5
rsdsoftsl

Hello. Some minutes of work. Daha Fazla

in %bids___i_period_sub_35% gün içinde10%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(60 Değerlendirme)
6.1
uditiiita

I have a lot of experience in web applications development. I have developed many websites using PHP, MySQL, jQuery, Javascript, AJAX, HTML5, Wordpress, Facebook API, etc. I can fix your javascript code in very less am Daha Fazla

in %bids___i_period_sub_35% gün içinde19%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(19 Değerlendirme)
5.8
akash9958

Hello, I am a Developer with good knowledge in PHP, Javascript, Jquery and HTML, CSS. Please check my profile review for your ready reference: https://www.freelancer.com/u/akash9958.html I am ready to start your pro Daha Fazla

in %bids___i_period_sub_35% gün içinde20%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(16 Değerlendirme)
5.7
dipta12

Hi, Experienced coder here. Please confirm that if you have the unique numbers defined ??? Hope to hear from you. Drop a message. Thanks.

in %bids___i_period_sub_35% gün içinde20%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(39 Değerlendirme)
5.9
PhungTran

A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(117 Değerlendirme)
5.5
janudvs

Hello, Myself Divyesh and have more then 4 years experience in web developing on php & mysql, I know many opensource like magento, wordpress, codeigniter and mvc based project and scripting language like js, ajax, j Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(31 Değerlendirme)
5.6
netosic90

Its a simple enough task, before calling the function the myNumbers array should be checked for duplicates. I could finish it in a matter of minutes. With regards, Nemanja

in %bids___i_period_sub_35% gün içinde25%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(13 Değerlendirme)
5.2
wbslivera

Hello, I am oracle certified professional java programmer and have [login to view URL] I am ready to help you now, thanks and let me know

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(79 Değerlendirme)
5.3
sherifamgadnabih

i am a senior software engineer and responsible for creating a web and desktop applications using different languages and technologies if u r interested just send me a message thank you and good luck

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(17 Değerlendirme)
5.2
wyvasi

Hello ! I am interested in this project and I would like to work !

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(21 Değerlendirme)
4.6
justTry

Hello! By the way why didn't you post these as hourly project so the fee won't be 50% on our side? If you want to pay not so much that's OK, but at least you should not make it so we pay half of those 10 bucks to fr Daha Fazla

in %bids___i_period_sub_35% gün içinde10%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(35 Değerlendirme)
4.8
rkmomin

Dear Hiring Manager, First of all,its my pleasure to bid on your project, I have gone through your requirements and seen your specifications. We are ready to work on it as soon as you will award this project to us. Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(19 Değerlendirme)
4.6
prakash2813

Hello dear, I am professional java developer in software company. This would be my first project and a good start too. It will take around 1 hour maximum. So what you say? May we start?

in %bids___i_period_sub_35% gün içinde10%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(17 Değerlendirme)
4.4
prajapat

I have 5+ year experience in web development. Give me only one opportunity to do this surely you will get a very good result. I am ready to start it now :) Looking forward to hear you soon and getting started Th Daha Fazla

in %bids___i_period_sub_35% gün içinde20%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(13 Değerlendirme)
4.1
gjcarrow

There are a few different ways to accomplish this. Here is one I came up with quick. You can use it if you'd like. var picked = 0; var myNumbers = []; var randomGeneratedNumbers = []; function pickIt(value) { v Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(2 Değerlendirme)
3.8
minmaxsys

I am professional on javascript ( you can view my profile ). it's easy with me. pls contact me. thank

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(10 Değerlendirme)
3.9