I am having problems figuring out what to do for best.
I have a website which requires HTML formatting to display product listings correctly but i have to be able to export the listing to an external site which uses its own set of formatting tags.
My idea was to create 2 textarea fields and use this function to copy the contents into the second textarea as its typed into the first.
function CopyValue(obj1, obj2)
var visibleField = obj1;
obj2.value = visibleField.value;
What i then want it to have a convert button which will replace certain words with html code i.e
[blue] would be replaced with <span class="color:blue">
and [/blue] would be replaced with </span>
I am unsure if there is something out there which can do this for me but i'm hoping there is a way i can do it.
Thanks in advance!