Hey
I'm trying to Replace a %%%VERSION%%% text, the text is coming from an tinyMCE editor.
looks like this.
$("#description textarea").val($("#description textarea").val().replace(/%%%VERSION%%%/g, STAT_VERSION_INFO));
The value of the textearea is:
<textarea rows="20" cols="117" name="description" id="description">Some code version info: %%%VERSION%%%</textarea>
But i can't make it replace anything.
Any idéas how to fix it, or maybe other solutions.