gregster606 — 2011-12-17T21:28:28-05:00 — #1
here is the text:
John Q. Smith MD
I want it to read:
John Q. Smith, MD
How do I find " MD" on the php generated page?
Here is my best start:
// define where to seach?
document.write(str.replace(" MD", ", MD"));
<h1>List of Doctors</h1>
<li>John Q. Smith MD</li>
<li>Janet Jones MD</li>
aussiejohn — 2011-12-17T23:01:13-05:00 — #2
Do you have control over the PHP that generates the listing at all? You could do the replacement on the server side, which would probably be a nicer solution.
paul_wilkins — 2011-12-18T01:13:43-05:00 — #3
Which directory program are you using?
gregster606 — 2011-12-18T13:45:56-05:00 — #4