Create a javascript function
£20-250 GBP
Płatność przy odbiorze
Need a routine written in pure Javascript (please no jquery or other addons).
No reliance on server side processing, all in browser please.
Remove all duplicate and extra tags.
Handle attributes as well as tags.
Adjust an array of character positions after tag removal.
In this text, character position 50 is the H in Hello
Character position 100 is the T in There.
Example of functions usage:
var messyhtmlstring = "<font face='arial'><b><b><font face='times'><i><b>Hello</b></b></i><i><font face='arial'></font><b> There</b></i></font><font face='times'>.<br></font></b></font>"
var posadjust = [ 50, 100 ];
var cleanedhtmlstring = StrHTMLClean(messyhtmlstring, posadjust);
Clean result should be:
"<b><font face='times'><i>Hello There</i>.<br></font></b>"
Adjusted positions should be:
posadjust = [ 25, 31 ]
var posadjust is the position of the text Hello and There.
So that would be needed for each word in the html output.
It must be quick since it's going to be constantly called during editing.
Numer ID Projektu: #6316819
O projekcie
Przyznany użytkownikowi:
Hello, I am expert with Javascript and i am very interesting this project! Hope to work with you! Best regards, LEO
10 freelancerów złożyło ofertę za £127 w tym projekcie
I have been working as a Web Developer... I have created differnt websites using HTML5,CSS3,Javascript,Jquery,BootStrap,AngularJS,PHP,Wordpress etc... I can do this quickly... Here are few projects... https://w Więcej
HI,Me as web expert.I have expertise in javascript and jquery.I understood your requirement and if you allow me then I can work on your project and complete today.
im expert in javascript. i can do this without a glitch. ------------------------------------------------------------------------ thank you audel
Greeting from Lucent Innovation...!!! Hello there, I am Javascript dev here. you can hire us with good out put. We can discuss more on this. Many Thanks Nitesh Lucent Innovation