jQuery find text and replace (or BBcode hack)

Posted by Harvengure on Stack Overflow See other posts from Stack Overflow or by Harvengure
Published on 2010-06-03T01:39:45Z Indexed on 2010/06/03 1:44 UTC
Read the original article Hit count: 268

Filed under:
|

Basically I am attempting to use jQuery so that it will search out text on the page and replace it with something else. For example [x]text[/x] will be converted to text which then gets converted from text to the actual html...a round about way of it I am sure but it seems to be the best way to do it given that the forum seems to understand html as plain texst anyway...but ultimately the goal is to use this jQuery to in a way create new bbcode on the forum.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-plugins