Hi,
Im using insertHTML to quote posts on my forums. It works for half the posts but not all. Any ideas why?
for example, this dosent work:
This does work:
Any ideas why its doing this ?
Im using insertHTML to quote posts on my forums. It works for half the posts but not all. Any ideas why?
for example, this dosent work:
<input id="quote" onclick="InsertHTML('\[quote\]<strong>Quoting kyokouzuma</strong>\[br\]<p>i downloaded Naruto Shippuden 3D- The New Era and it didn't work either</p>\[/quote\]');" type="image" src="/images/quote.png" width="50" height="11" value="Insert Text" />
This does work:
<input id="quote" onclick="InsertHTML('\[quote\]<strong>Quoting ruben9898</strong>\[br\]<p>So there is basically no point for downoading 3ds roms right now?</p>\[/quote\]');" type="image" src="/images/quote.png" width="50" height="11" value="Insert Text" />
Any ideas why its doing this ?
You are not escaping the ' in
You are not escaping the ' in didn't.