Menu
I have a javascript that produces a preview window of a user-submitted form for users to view how their submission will look when finalized. Only problem is that at times {tokens} are used in place of ‘real’ html tags. How can I get my script to scan through and replace all instances of (example: {tag} and {/tag}) with (example: <tag> and </tag>). This seems so simple when I type it out like this… why can’t I get the bloody thing to work?