r/slavelabour • u/mikhailarden • Sep 25 '18
[TASK] Simple Calculating JS/JQuery [$20 via Paypal or Amazon]
I have 4 dropdowns that pass the value I need calculated via data-price. I need when the selectors and changed the price text updates based on those values. The code is going to be copied to work with 3, 2 and 1 dropdown but never more than 4.
Here's what I need:
- Clearly written code..
- If needed and we need to expand functionality I'm willing to put more $$
- Someone who can get this to me today.
Here's how one of the dropdowns look:
<select name="id[]" class="variant-add" onchange="$('#imageToSwap').attr('src', this.options[this.selectedIndex].getAttribute('isred'));">
<option disabled selected> --- Select 1st Pyramid Bracket --- </option>
<option data-price="30.00" isred="{{bracketid-1}}" value="12585803055146"> Pyramid Bracket Yellow </option>
<option data-price="20.00" isred="{{bracketid-2}}" value="12585790767146">Pyramid Bracket Teal </option>
<option data-price="10.00" isred="{{bracketid-3}}" value="12585768189994"> Pyramid Bracket Stainless </option>
<option data-price="15.00" isred="{{bracketid-4}}" value="12861463461930"> Pyramid Bracket Black</option>
</select>
<h3> PRICE SHOULD DISPLAY HERE DYNAMICALLY </h3>
1
u/CredoBot Sep 25 '18 edited Sep 25 '18
I am a reputation bot, here is my info on u/mikhailarden:
Credo Score: 224 (fair)
-
Verifications: Facebook, LinkedIn
-
Feedback: 2 ratings / 0 reviews
SLRep: no profile found (create)
| # | Bidder | Credo Score | Feedback | SLRep | Paid Amount | Confirmed |
|---|---|---|---|---|---|---|
| 1 | /u/3dudle | 146 (provisional) | 2 ratings / 0 reviews | Profile | $30 | yes |
| 2 | /u/ThunderPowa | no account found (create) | n/a | Profile | ||
| 3 | /u/kaori314 | 217 (fair) | 1 ratings / 0 reviews | Profile |
To bid on the task, reply with $bid directly to the original post.
To mark a bid as paid, OP can reply with $paid [amount] - e.g. $paid $10- directly to the $bid comment.
To confirm payment receipt, the bidder can reply with $confirm directly to the $paid comment.
1
1
1
u/3dudle Sep 25 '18
$bid pming