Write JS to extract word onclick and store in JSON.
$10-30 USD
Paid on delivery
Write Javascript code that populates a JSON object with information onclick of a word on an HTML page. The text could be formatted as follows:
-------------
Tú me dices que no es cierto que te mueres por mí
si es verdad que no te gusto no te acerques así
me dijeron que te encanta que se mueran por ti
buscando al que se enamora para hacerlo sufrir.
Si me dices que me amas no te voy a creer (no)
Tú me dices que me quieres y no puedes ser fiel (no)
Me dejaste manejando solo y triste mujer (no)
Te confieso si lo quieres saber, si lo quieres saber.
------------------
From any clicked word, three JSON entries should be produced:
- the clicked word.
- the whole sentence in which the word is found.
- the same sentence, but with the clicked word blanked out.
As seen above, the text can contain diacritics, therefore UTF-8 formatting is necessary
Project ID: #12069766
About the project
Awarded to:
8 freelancers are bidding on average $51 for this job
Hi I can do it for you I work with Json/ajax/javascript/php every day You can be shure this project i can complete I just need to understand it more clear
Hi, I can develop this script for you at very low cost as i am experienced designers and developers. i want to have long term relations with my clients that's why working at very good prices. Hope you will give me a ch More
4+ years in web development. Specialist in WORDPRESS, CODEIGNITER, E-COMMERCE, CMS, CORE PHP, PROPERTY, RENTAL, TOURISM, PAYMENT GATEWAYS, PAYPAL, GOOGLE and RESPONSIVE DESIGNS. Bringing 4 years of WEB DEVELOPMENT More
I can do this task quickly and efficiently. I'm new to this site, so I'm keen to establish a good reputation.