Find Jobs
Hire Freelancers

I need fix a javascript file

$10-30 USD

Lezárt
Kiadva ekkor: több mint 3 évvel ezelőtt

$10-30 USD

Teljesítéskor fizetve
I have this html file with a javascript file where if creates a table with two cells, one at left it has a value of an array and other cell it has a image link. You'll see that cell at left doesnt match with cell at right, if you do this in debugger mode it works because is slower than without debugger mode. I need fix this, also it gives a csv response but is not necessarry because you can remove &output=csv, but I don't know if this is related with the error. Also if a image is not found I want at cell left the value of the array and at right cell the something like image not found. <!DOCTYPE html> <html> <head> <title>Buscador de imagenes</title> <link rel="stylesheet" href="[login to view URL]@4.5.3/dist/css/[login to view URL]" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> </head> <body> <div class="container"> <div class="row"> <div class="col"> <h1>Buscador de imagenes</h1> <h1>Buscador de imagenes</h1> <div id=ipText></div> <h3>Resultado</h3> </div> </div> </div> <table id="myTable" class="table"> </table> <script> var upc = ["cat", "dog", "fox", "canada"]; var i; var j = 0; for (i = 0; i < [login to view URL]; i++) { var serverurl = "[login to view URL]"+upc[i]+"&google_domain=google.com.mx&location=Mexico&gl=mx&hl=es&search_type=images&images_page=1&output=csv&csv_fields=[login to view URL]"; var ptext = [login to view URL]("ipText"); [login to view URL](createItem(upc[i])); fetch(serverurl) .then(function (response) { return [login to view URL](); }) .then(function (myJson) { var textdata = myJson; var getimageurl = [login to view URL]("\n"); var correcturl = getimageurl[1]; var cuturl = [login to view URL](0, -1); var real_url = [login to view URL](1); [login to view URL](real_url); var table = [login to view URL]("myTable"); var row = [login to view URL](0); var cell1 = [login to view URL](0); var cell2 = [login to view URL](1); [login to view URL] = upc[j]; [login to view URL] = real_url; j++; }) .catch(function (error) { [login to view URL]("Error: " + error); }); } function createItem(name){ var pp = [login to view URL]("p"); [login to view URL] = name; return pp; } </script> </body> </html>
Projektazonosító: 28342567

A projektről

25 ajánlat
Távolról teljesíthető projekt
Aktiválva: 3 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
25 szabadúszó adott átlagosan $24 USD összegű árajánlatot erre a munkára
Felhasználó avatár
Hi, Here's my bid to fix the script for you so that it shows the correct image based on the text that is searched for.
$40 USD 1 napon belül
5,0 (42 értékelés)
6,0
6,0
Felhasználó avatár
Hi! I am a PHP, JavaScript, JQuery, Bootstrap, HTML, CSS, Sass expert. I can start work right now and successfully deliver final result to you. I can deliver your project in shortest time and successfully. Thanks.
$30 USD 2 napon belül
5,0 (24 értékelés)
5,8
5,8
Felhasználó avatár
Dear client. I read your description very carefully and I noticed what you want. As I am a senior web developer, I have many experience in React and Node I can dive into your project right now because I have no ongoing project now and I can also complete your project successfully with high quality in your deadline. Please chat me and let's discuss more. Kind Regards. Pavel.
$30 USD 1 napon belül
4,8 (26 értékelés)
5,6
5,6
Felhasználó avatár
Hello, I'v got over 12 years experience as developer. I would need to ask You a few questions in order to fix Your script. Please contact me. Regards
$30 USD 1 napon belül
5,0 (17 értékelés)
5,1
5,1
Felhasználó avatár
Please send the html file containing the javascript in a text file. I can fix your script and implement it so it works properly. I have been a website developer for more than 6 years, previously working for a private company making administrative website and developer tools. I work with websites built with PHP, MySQL, Javascript, Wordpress, Laravel and more. Please feel free to send me a message so we can discuss further details. Thanks.
$25 USD 1 napon belül
5,0 (48 értékelés)
4,9
4,9
Felhasználó avatár
"Javascript Expert" Hello, I will fix your javascript issue and start it asap. I will fix your table cell to work properly with javascript function. Looking forward to working with you long term, Regard's
$20 USD 2 napon belül
5,0 (10 értékelés)
4,4
4,4
Felhasználó avatár
Your issue is due to the asyncronous nature of ajax(the fetch function) We can resolve this in 2 ways 1. wait for each ajax call to finish before making another 2. create the full table and plug in the values as they become available.
$30 USD 1 napon belül
5,0 (12 értékelés)
4,0
4,0
Felhasználó avatár
hello, i tested your html code i get the right results, contact me for more details on the project Best regards
$20 USD 7 napon belül
5,0 (13 értékelés)
3,7
3,7
Felhasználó avatár
Hi. I checked the code and used the output as json and made some little change in code. And things is working fine. Image links are matching with the left side names. Lets have a chat if you already haven't hired someone . Thanks
$30 USD 1 napon belül
5,0 (6 értékelés)
3,8
3,8
Felhasználó avatár
Hello, I have done these kinds of projects before also I can do your word the way you want. I know c++, python, html, css, javascript, django, java and many more. I know programming languages to which helps to accomplish the task accurately and efficiently. I am new to this website I know it is difficult to get project in beginning but if you give me this project, I will make sure that I do it properly. For me, client satisfaction is more than money. I can do your project at minimum price.
$10 USD 1 napon belül
5,0 (4 értékelés)
2,9
2,9
Felhasználó avatár
Hi there - this should be a relatively simple fix. We'd just need to update your code to track each outgoing request and map it back to the table cell where you want the data to land (because you cannot guarantee the order in which the requests come back except by walking through it in debug mode, like you noticed).
$20 USD 7 napon belül
5,0 (3 értékelés)
2,8
2,8
Felhasználó avatár
✨✨✨Dear sir✨✨✨ Thank you for your job posting I hope you are well and staying safe without COVID-19 effect I m an professional developer in front-end and back-end . It seems to be an interesting work and a good opportunity to show my web skills to work with you in the future as well. I can complete your project in a day perfectly with my rich experience of over 8 years. Please contact me to discuss more. ✔ MY SKILL ✔ - Web Development : ✅ Language:, ++PHP ✅ Frontend: HTML, ++CSS/SCSS,++JavaScript, ++jQuery, ++Ajax, ++Bootstrap, ++Angular.js,++Node.js, ++React.js, ++VueJS ✅ App: flutter, ++android ✅ Database: MySQL, ++MSSQL Looking forward to reply from you soon. ✨✨Thank you regards✨✨
$30 USD 1 napon belül
4,9 (3 értékelés)
2,2
2,2
Felhasználó avatár
Hello Dear, I am a Java Full Stack developer with 2.5+ years of experience. I am multi skilled and can work on both web and desktop application development. I am also having intermediate level experience in Angular and Vue.js, worked on APIs Integration, JWT Authentication, HTTP Interceptors etc. My past working experience includes Java, JavaFX, Swing, JSP, Spring MVC , Spring Boot Rest APIs development, API integration in angular front end and vue.js front end. My Skills :-  Programming Language : Java, Java 8  Front End Framework : Angular 9, Vue.js  Application frameworks : Spring MVC, Spring Boot, JSP, Servlets, Spring Security, Hibernate, JavaFX, Swing  Platform : Unix or Linux, Windows  Databases : MySQL, Postgresql, MongoDB  Application Servers : Apache Tomcat  Development Tools : Eclipse, Netbeans, Apache Maven, GIT, STS  Web Technologies : HTML, Javascript, JWT, AJAX, JQuery, XML, JSON, CSS  Desktop Technologies : JavaFX, Swing and Electron JS Framework  Chrome Browser Extension If interested kindly ping me in chat. Thanks.
$30 USD 1 napon belül
3,5 (2 értékelés)
1,6
1,6
Felhasználó avatár
hi, hello i am khizar a professional free lancer, i read your project description and i am willing to work on your project. my expertise in JavaScript and html5.
$10 USD 7 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
i worked 5 years on front end developement and dom maniplation using jquery, infact i already soved the issue have the code ready
$13 USD 1 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
hello, i already fixed it and if you have further suggestions I can help you on them don't hesitate to contact me if you want a solution for your problem.
$15 USD 1 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
Hi, I am very much interested in this task. I am having more than 12 years experience in front end technologies. please give this work to me to prove myself. Thanks.
$10 USD 1 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
Hola soy de Mexico. No comprendo bien cual es el problema pero si gustas puedes mandarme msj y vemos si te puedo ayudar. @moilu6 en Twitter Saludos
$20 USD 2 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
I saw your code, and I believe I can fix it. As for my experience , I can write ES6 javascript code,and also HTML and CSS. I will fix your code and do what you want me to do within a day. Thank you for considering me.
$10 USD 1 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
Hola que tal Soy Guillermo Perez , desarrollador FullStack puedo revisar tu script para solucionar el ajuste de la tabla y se muestre de la manera correcta que necesitas. Quedo pendiente. Saludos.
$25 USD 3 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

MEXICO zászlója
San Miguel De Allende, Mexico
5,0
4
Tagság kezdete: jan. 1, 2016

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.