login
Forgot?
Login with Facebook

Don't have an account? Register one now!

Simple Javascript Tweak

Bids 
4
Avg Bid
$36 USD
CLOSED
  • Project ID:

    785338
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD

Project Description:

Hello!

NO SPAM BIDDING. You must send me an message with your details, and you must give me the amount of the variable "var price2 = ;" from the script to even be considered.

I have a piece of javascript that updates prices on a form as it's filled in. I need 3 very simple tweaks (for someone who knows javascript) to this form:

1) The sqr_mtr (variable must scale (ie. the more sq. ft they purchase the cheaper the price per sq. ft becomes)

ie: using something like this (where units is the sq. footage):

function getDiscountPrice(units) {
// Note: It is important to work your way down from max to min amounts!
if (units >= max_units) return 4;
if (units >= 100) return 6;
if (units >= 50) return 8;
if (units >= 25) return 10;
if (units >= 10) return 13;
if (units >= 5) return 16;
if (units >= 2) return 17.50;
if (units == 1) return 19.95;
if (units <= 0) return 0;
}

2 and 3) are the same tweak just different items (one is webbing, the other is rope). Taking the width and length on the form used to determine the square feet, use it to determine the linear feet and time the linear feet by a set price of $1. (I attempted to write this as function updateprice2(form) for the webbing item but it doesn't work at all).

This form is passing variables to VirtueMart - so the output is a set format. The funtion: function updateprice2(form) works and should be used as a guide - (this is the function that needs the scaling sqr_mtr variable)

The form and the scripts are attached.

Turn around is 1 day from when it's awarded. This should take less than 30 minutes for someone who knows javascript. MAXIMUM BID THAT WILL BE ACCEPTED IS $30 - that will be put in ESCROW to the winning bidder and not released until a WORKING version of the javascript is delivered.

Skills required:

Javascript

Additional Files:

formcode.txt javascript.txt

Project posted by:

midnites United States
(2 Reviews)

Last seen:

Public Clarification Board

1 messages

  • faizan04

    I can do this for you very fast contact me. I am ready to work under your wage. I am a qualified web programmer. You would not be disappointed.

    over 1 year ago


If you are the project creator or one of the bidders, please Log In for more options.


Awarded Bids

DrTech76 Bulgaria
monkey-typewriter.gif
DrTech76
Bulgaria From Bulgaria     Gold Member     Online
 Accepted
$30 in 1 day 
$30 Milestone Requested
over 1 year ago
5.0

5.1

59 Reviews
89% Completion Rate
Hi!

All Bids ()

codersam India
microinfosoft_log.jpg
codersam
India From India     Gold Member     Offline
$52 in 1 day 
$52 Milestone Requested
over 1 year ago
5.0

5.1

12 Reviews
81% Completion Rate
********* var price2 = 0; I can do the work. I have checked the code.I am ready to start as soon as you assign me. Thanks *************
syntaxJunkie Philippines
logo.jpg
syntaxJunkie
Philippines From Philippines     Offline
  Foundation LimeExchange Member
$30 in 1 day 
$15 Milestone Requested
over 1 year ago
0.0

0.0

0 Reviews
100% Completion Rate
Good Day! I would really like to do your project. I am pretty certain that I could do that in a day or less. I am a Computer Engineer that specializes on creating web applications. The tools that I have been using w... more
Good Day! I would really like to do your project. I am pretty certain that I could do that in a day or less. I am a Computer Engineer that specializes on creating web applications. The tools that I have been using were PHP, Java and Coldfusion for the backend. Javascript, CSS and XHTML for the user interface. MySQL and PostgreSQL for the database. AJAX technology for an application that needs to have one. I would really like to hear more from you. Thanks. less
perfaction Bangladesh
Picture.jpg
perfaction
Bangladesh From Bangladesh     Offline
  General Freelancer Orientation (75%, 81st percentile)
$30 in 1 day 
0
over 1 year ago
i can make sure what you need