Completed

Write a small bit of JavaScript - Must be completed in 1 hour!

Hello,

I have the following HTML code:

<div id="file-inputs">

<input type="file" name="fileToUpload[]" id="file-1" class="inputfile"/>

<label for="file-1"><span>Select a photo</span></label>

</div>

I would like a button that when pressed, it adds the same code again to the div, but it increments the input id and label.

For example, if I press the button 3 times, the HTML should now look like this:

<div id="file-inputs">

<input type="file" name="fileToUpload[]" id="file-1" class="inputfile"/>

<label for="file-1"><span>Select a photo</span></label>

<input type="file" name="fileToUpload[]" id="file-2" class="inputfile"/>

<label for="file-2"><span>Select a photo</span></label>

<input type="file" name="fileToUpload[]" id="file-3" class="inputfile"/>

<label for="file-3"><span>Select a photo</span></label>

<input type="file" name="fileToUpload[]" id="file-4" class="inputfile"/>

<label for="file-4"><span>Select a photo</span></label>

</div>

This job must be completed within 1 hour! Please do not bid if you cannot complete. Please write in your bid that you understand, and you are ready for me to award. I will award very fast.

Skills: HTML, HTML5, Javascript, jQuery / Prototype

See more: can write select function javascript, small login javascript hide username, gsm bit javascript, how to learn javascript for beginners, w3schools, how to write javascript, javascript help, best javascript tutorial youtube, javascript tutorial, javascript tutorial pdf, javascript guide, javascript auto pop message hour, asp write text file javascript, write cvs file javascript, small easy javascript projects, project must completed, html form write txt file javascript, write csv file javascript, write small article, write form file javascript

About the Employer:
( 13 reviews ) Wimborne, United Kingdom

Project ID: #18076265

Awarded to:

MimiFL

Hello, i am serious freelancer with 100% completion rate and i believe i can help you. I've read everything and yes this can definitely be done under an hour, its basically just generating new elements and appending th More

$15 USD in 0 days
(205 Reviews)
6.3

30 freelancers are bidding on average $18 for this job

codeaxiscom

Good day ma'am/sir! I completely understand the project details and can complete it in 1 hour. PM me if you would like to work with me :)

$30 USD in 1 day
(106 Reviews)
6.1
itsea

I understand, and i am ready to start work now award me project so i can give you code less than one hour. thanks sagar

$15 USD in 0 days
(65 Reviews)
6.0
majumderranit81

Hi there! I have more than 7 years of experience in javascript development. Please do not ignore me as a new profile. I can give you more quality work on time. Regards Ranit Majumder

$20 USD in 10 days
(82 Reviews)
6.1
gursukh

yes sure I can help you right now.

$20 USD in 0 days
(103 Reviews)
6.2
nixtech

Hello Sir I can deliver the same in next 20 min. I am willing to start right away. Please check my profile for work and experience. Regards Ashwin

$20 USD in 0 days
(93 Reviews)
5.8
efforcoder

Hi, sir. I have seen this project very carefully. I am a Javascript expert. I am sure I can do this project asap. Please contact me. Thank you.

$20 USD in 10 days
(38 Reviews)
5.5
Johnatangv19

Hey I can have this in less than 1 hour, I'm a system engineer with more than 2 years of experience.

$20 USD in 0 days
(25 Reviews)
5.0
soumyanildas

Hello there! I have gone through the project description and can help you out with this in under an hour. The HTML code won't look like that exactly, since it's dynamic, but you'll see 'n' inputs depending on 'n' click More

$15 USD in 0 days
(34 Reviews)
5.0
testotorko

Hi. I wanna do it for you. PHP, MySQl, jQuery / Prototype, Javascript, HTML, CSS expert and can start right away. 1 hr is OK.

$15 USD in 10 days
(49 Reviews)
5.1
webcodeater

hi i have 4 years experience in web development so i can do this changes easily,hi i have 4 years experience in web development so i can do this changes easily

$15 USD in 0 days
(62 Reviews)
4.9
UnityGame

hello I am senior developer. I think I can do your work in 30 min. if you choose me, I'll provide satisfied result. Thank you.

$20 USD in 10 days
(16 Reviews)
4.1
elkadymos

Hi, I will be happy to help. I can use jQuery to provide the code in less than an hout. If you have any questions, please let me know Thank you

$15 USD in 0 days
(12 Reviews)
3.7
mbilal4

Hello, I am ready to do your this task. I will do it one hour. I can do it easily. I am expert in HTML, HTML5, Javascript, jQuery / Prototype. I have 2+ years experience. Please contact me for further detail. Re More

$15 USD in 10 days
(8 Reviews)
3.2
Amunavsupe

Hello, I am a Programmer with 6 years of work experiences. I'm familiar with Laravel,Codeignitor,HTML5, CSS3, XHTML, Javascript, JQuery, AJAX, JSON, PHP, MySQL,Bootstrap and Wordpress templets. I will coding all the c More

$15 USD in 1 day
(4 Reviews)
3.0
SmithZhang

hello I read your job description and I am interested in your project. And I think I can complete your project within one hour. I would love to have an opportunity to discuss with you for further details. Best rega More

$20 USD in 1 day
(5 Reviews)
3.0
sunnylalwani

Computer Science graduate and have 2-year experience in JavaScript and Jquery, I will complete your tasks in 1 hour even less than one hour and also i can start right now thanks

$15 USD in 1 day
(2 Reviews)
2.6
bluesea1990

Hi, How are you? I've carefully read your description and I am very interested in your project. I have rich experience in building of Web and database development and data scraping. I am very familiar with PHP, JAVA More

$15 USD in 10 days
(5 Reviews)
2.9
softminders

Hello Sir, ----------------------------------------------------------------------The job is already done----------------------------------------------- please take this code and test if this works. it will Award More

$15 USD in 10 days
(4 Reviews)
2.1
james880606

Hello? I have read your job description very carefully and i understood what you want. I have web development experienced for 4 years. I want to discuss with you via chat. Thanks you. James.

$20 USD in 1 day
(4 Reviews)
1.8
mariamemmad

Hi Tom , I just saw your job for UI/UX Developer. I have understood your requirement and am highly interested in your project. I am an experienced freelancer and have created more than 50 templates. running my so More

$15 USD in 1 day
(4 Reviews)
2.7