In Progress

Javascript Code to Change Text Based on String in Page


On this page...

[login to view URL]

...there's an area that says "Three Monthly Payments of $99"

What's need is that when a coupon is applied that a snippet of javascript will change that $99 to $69.30

(try using this coupon as an example: SAVE30 ... and you can see what I mean)

I was thinking maybe the script could search for the presence of the code SAVE30 ... if it was present in the page then display $69.30, if it wasn't present display $99

Hope that all makes sense.

Sadly, for security reason I can't give you access to the page so I will need to add the script myself (it's in our cart system with credit card info etc.


Skills: Javascript

See more: what is search string, what is a search string, text to string, text string search, search text string, search string in c, javascript credit card, clear a string in c, bn. com, text based, javascript three, code convert javascript code, coupon system using php, javascript snippet, string search, script coupon code, text area, add cart javascript php, cmd text, string javascript

About the Employer:
( 89 reviews ) KILAUEA, United States

Project ID: #7014089

8 freelancers are bidding on average $89 for this job


Hello, We are a hard-working web-development company working on core PHP And Wordpress projects. We can develop cross-browser, W3C compliant good quality professional websites. We have gone through your requirement More

$257 USD in 3 days
(61 Reviews)

Hi, Experienced Web Professional, good with JQuery/Javascript. I read your project description and understood the requirements. I have done such scripts in the past where I change the text within the page based on s More

$33 USD in 1 day
(209 Reviews)

HI I know how to do this Task. I will give one js file. you can just call your page. you will what you want.

$34 USD in 3 days
(78 Reviews)

Hello, Got your specification and i am also analyzed yes sure fixes is required in javascript. Don"t bother sure i will fix it. Please come on chat to discuss in brief. Having 4+ years of exp.. My expertise include More

$84 USD in 1 day
(14 Reviews)

Hello i guess i can do this easily. I can work in the console of my firebug so i can test all the stuff. I guess i need 2-3 hours max. Best regards, Safak

$61 USD in 0 days
(11 Reviews)

A proposal has not yet been provided

$80 USD in 1 day
(3 Reviews)

Hello, dear employer. I'm very interesting in your project and I have enough experience the projects like yours. I can help perfectly as you want and I am ready to start immediately and can finish in time with my bid More

$30 USD in 1 day
(3 Reviews)

Hello, Very Experienced and Oracle Certified Java Developer here. I would like to have a quick chat about a few things related to this project. Please could you message me so that we can discuss further? Hoping t More

$133 USD in 3 days
(0 Reviews)