Cancelled

Update affiliate links in textareas with Javascript

I'm setting up the affiliate promo materials page for my product on my website.

The idea is that at the top of the page a user can enter their affiliate ID number in a text field and click a button to have all the affiliate link html code for the various promotional materials (text link, banner ads, etc.) displayed on the page in textarea boxes, update with their affiliate ID in the affiliate links and then they can simply copy and paste the html codes from any of the textarea boxes without having to worry about editing the html code manually themselves.

I've attached an example .php file with my initial attempts at this. It is way above my level of knowledge so I need some help getting the functionality working in this example .php page. I can integrate the code you create in to my website after you complete it.

Next to each textarea box you'll see there is a "copy code to clipboard" button. I'd like the visitor to be able to simply click each button to copy the current code in the textarea to their system clipboard.

In the example .php file provided you'll see there are a few textarea boxes. On my real webpage there will be a lot more, and I will add more in the future so it needs to be relatively easy for my to add more (I'm good with deciphering code and working out what to do so it doesn't need to be completely idiot-proof, just obvious enough how to replicate it for additional textareas on the page).

I'm presuming this needs to be done in JavaScript rather than PHP. At the live website this code will be placed on WordPress page template and has the Google jQuery framework loaded in the header so this can be used if it helps - I've already got it loading in the header in the example .php file.

I'm looking to get this completed quickly, within a day or so.

Thanks for looking and just shout if you have any questions at all.

Mike

Skills: AJAX, Javascript, PHP

See more: top banner ads, shout page, live javascript, html codes create website, html code javascript, update wordpress website, codes promo, code update php, google javascript framework, wordpress affiliate, update product page, mike d, loading product, update, help javascript, help html code, html code update website, code update website html, replicate template website wordpress, textarea complete, wordpress page javascript, html javascript example, javascript php framework, clipboard box, textarea jquery php

About the Employer:
( 15 reviews ) Cobham, Austria

Project ID: #1242168

2 freelancers are bidding on average $63 for this job

ahmed613

PHP expert.. check pm pls!

$80 USD in 1 day
(68 Reviews)
5.0
Torkul

Specialized web programming company with 12 yeras of experience.

$75 USD in 3 days
(2 Reviews)
3.0
mahmed0715

hi, i can do this.thanks.

$50 USD in 2 days
(1 Review)
1.9