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;

[url removed, login to view](numberpicked).value = value;

[url removed, login to view](numberpicked_).className='selectedNumber';

[url removed, login to view](numberpicked_).onclick="";

picked++;

if(picked == 6) {

[url removed, login to view][0].submit();

}

}

function autoPick() {

var min = 1;

var max = 60;

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

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

pickIt(random);

}

}

</script>

Beceriler: Javascript

Daha fazlasını görün: 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:
( 36 değerlendirme ) Pompano Beach, United States

Proje NO: #6521787

42 freelancers are bidding on average $20 for this job

kchg

A proposal has not yet been provided

in 0 gün içinde30$ USD
(155 Değerlendirme)
8.7
KatrinaQ

A proposal has not yet been provided

1 gün içinde 20$ USD
(175 Değerlendirme)
7.1
pixelke

A proposal has not yet been provided

1 gün içinde 14$ USD
(102 Değerlendirme)
6.8
mondersky

let's start .

1 gün içinde 20$ USD
(93 Değerlendirme)
6.2
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 fazlası

in 0 gün içinde19$ USD
(19 Değerlendirme)
5.8
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 fazlası

1 gün içinde 20$ USD
(30 Değerlendirme)
5.6
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 0 gün içinde20$ USD
(32 Değerlendirme)
5.5
rsdsoftsl

Hello. Some minutes of work. Daha fazlası

in 0 gün içinde10$ USD
(41 Değerlendirme)
5.8
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 0 gün içinde25$ USD
(13 Değerlendirme)
5.2
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: [url removed, login to view] I am ready to start your pro Daha fazlası

in 0 gün içinde20$ USD
(11 Değerlendirme)
5.0
PhungTran

A proposal has not yet been provided

1 gün içinde 15$ USD
(99 Değerlendirme)
5.3
wbslivera

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

1 gün içinde 25$ USD
(71 Değerlendirme)
5.2
wyvasi

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

1 gün içinde 10$ USD
(19 Değerlendirme)
4.5
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 fazlası

in 0 gün içinde10$ USD
(28 Değerlendirme)
4.6
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 25$ USD
(16 Değerlendirme)
5.2
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 fazlası

1 gün içinde 30$ USD
(19 Değerlendirme)
4.6
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 fazlası

in 0 gün içinde20$ USD
(13 Değerlendirme)
4.1
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 0 gün içinde10$ USD
(11 Değerlendirme)
3.9
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 fazlası

1 gün içinde 10$ USD
(2 Değerlendirme)
3.8
anshulikabansal

Hello Sir, I can fix this for sure. Please start a PM on this. Thanks & Regards, Anshulika Bansal

1 gün içinde 34$ USD
(10 Değerlendirme)
3.2