Find Jobs
Hire Freelancers

Convert from Javascript into JQuery

$10-30 USD

Completed
Posted about 5 years ago

$10-30 USD

Paid on delivery
Hi, I need to convert the below code to the pure jquery code. Currently there is javascript elements like getElementById etc. The result should be in pure jquery code. There is no additional [login to view URL] converting and should be done with help of this code. I am expecting that you show on live page that your submitted code is working as acceptance rule. ----------------------------------Checkbox Start----------------------------- 20.07.2015||Reisen||12.00||250.00||6000.00||0.080||9720.00 18.08.2015||Meeting mit Experten||5.00||250.00||0.00||0.080||1350.00 18.07.2015||Aktenstudium||11.00||250.00||0.00||0.080||2970.00 -----------------------------------Checkbox End----------------------------- User can select the above checkboxes (one or all) and the function should calculate the values. --------------------------CODE to Convert to JQuery START HERE--------------------------------- $('#r_NEStd').hide(); $("input[name='x_Posten[]'], input[name='x_NE[]']").click(function() { // Field2 has multiple inputs(checkboxes) so they should be selected by name [login to view URL]("x_Total").readOnly = true; [login to view URL]("x_Auslagen").readOnly = true; [login to view URL]("x_RBetrag").readOnly = true; if ($("input[name='x_Posten[]']:checked").val() && $("input[name='x_NE[]']:checked").val()) { [login to view URL] = ''; var Anzahl = 0; var Auslagen = 0; var AuslagenMwSt = 0; var Total = 0; var splitted; var nestdsatz = [login to view URL]; var e = [login to view URL]("x_Vorschuss"); var VorschussValue = [login to view URL][[login to view URL]].value; var nestdsatz = [login to view URL]; var elements = [login to view URL]("x_Posten[]"); for (i = 0; i < [login to view URL]; i++) { if (elements[i].checked) { splitted = elements[i].[login to view URL]("||"); Auslagen = Auslagen + +parseFloat(splitted[4]); AuslagenMwSt = AuslagenMwSt + +(parseFloat(splitted[4]) * (1 + parseFloat(splitted[5]))); Anzahl = Anzahl + +parseFloat(splitted[2]); Total = Total + +(parseFloat(splitted[2] * nestdsatz) * (1 + parseFloat(splitted[5]))); } } [login to view URL] = [login to view URL](2); [login to view URL] = (Total + AuslagenMwSt).toFixed(2); [login to view URL] = ([login to view URL](((Total + AuslagenMwSt) - VorschussValue) * 20, 0) / 20).toFixed(2); [login to view URL] = "rechnungne"; } else { // WENN x_Posten oder NE nicht oder nur ein Feld gelickt ist [login to view URL] = ''; var Anzahl = 0; var Auslagen = 0; var Total = 0; var splitted; var e = [login to view URL]("x_Vorschuss"); var VorschussValue = [login to view URL][[login to view URL]].value; var nestdsatz = [login to view URL]; var elements = [login to view URL]("x_Posten[]"); for (i = 0; i < [login to view URL]; i++) { if (elements[i].checked) { splitted = elements[i].[login to view URL]("||"); // Auslagen = Auslagen+ +(parseFloat(splitted[4])* (1 + parseFloat(splitted[5]))); Auslagen = Auslagen + +parseFloat(splitted[4]); Anzahl = Anzahl + +parseFloat(splitted[3]); Total = Total + +parseFloat(splitted[6]); } } [login to view URL] = [login to view URL](2); [login to view URL] = (Total).toFixed(2); [login to view URL] = ([login to view URL](((Total) - VorschussValue) * 20, 0) / 20).toFixed(2); [login to view URL] = "rechnung"; } }); --------------------------CODE to Convert to JQuery END HERE---------------------------------
Project ID: 18970411

About the project

5 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
yes sure I can help you right now.
$20 USD in 1 day
5.0 (104 reviews)
5.3
5.3
5 freelancers are bidding on average $21 USD for this job
User Avatar
Hi, My name is Serine. I have 4 year experience Web Design and Development. I believe my strong points are my Creativeness and Punctuality. My #1 goal will always be to meet your needs and deadline. Listed below are my experience and skills. - HTML, HTML5 - CSS, CSS3, Bootstrap 3/4 - javascript/jQuery,jQuery UI, Ajax, - Photoshop, Illustrator - SQL, SQLite, MySQL - php, yii2, laravel - joomla, wordpress - Api development
$20 USD in 1 day
5.0 (4 reviews)
2.7
2.7
User Avatar
Hi Hope you are doing well.I have 7yrs of experience on web developement with various assignment completed successfully and looking forward for many more.I have good exposure in php mysql html css javascript jquery ajax website scrapping.
$20 USD in 1 day
5.0 (2 reviews)
1.6
1.6
User Avatar
Buenas, actualmente trabajo con html / css / javascript(jquery) y ya tengo mas de 3 años de experiencia, resolvere tu problema de la mejor forma posible. Hi, I'm currently working with html / css / javascript (jquery) and I have more than 3 years of experience, I will solve your problem in the best possible way.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SWITZERLAND
Zürich, Switzerland
5.0
18
Payment method verified
Member since Nov 21, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.