I'm making an edit in place plugin, and am running into an issue, mainly because I'm not sure how to do it. The data I am working with is bbcode, so what is seen on screen (non editing) is not bbcode, but it decoded. I would like to be able to return the bbcode to work with it in another area. I'm just not sure how to do that.
What I'd like to be able to do is to initialize it: $('#test').bbcode (); and then be able to call it again (or something) to get the actual bbcode out. So, something like $('#test').bbcode('code'); or $ ('#test').showcode(); It basically works right now, except for the returning data. I'm just not sure on how to procede to do that.