The text gets output in simple html
<p>Jame`s was amazing</p>
but needs to be
<p>Jame's was amazing</p>
Thats great, but i need it to do the replace across a whole html page not just the string i specify in the script?
Can anyone help?
Probably not what you need, but could you take the html into notepad and do a good ol' find and replace?
You need to learn how to use an apostrophe! It tends to indicate ownership or missing letters. Sorry, but I've had to many people telling me off so I had to correct you.
What's the application - you may have a hard time getting js to work across the whole doc.... explain what you are trying to do and someone may have a better trick...
If its a static page then notepad, grep, etc will be your best bet.
If its database driven then maybe you could do it as a sql query in the backend or in what ever language is pulling your data from the database.
There are currently 1 users browsing this thread. (0 members and 1 guests)