1
我有一個文本值返回到現場,像這樣一個JavaScript文件撰寫功能:轉換的JavaScript文件撰寫結果的BBCode格式
<script type=\"text/javascript\">
document.write(opener.document.msg.message.value)
</script>
現在,我需要的是什麼,從返回的輸出document.write部分是在BBCode輸出中,所以如果從document.write函數獲取的值是[b] hello [/ b],它將返回「hello」而不是[b] hello [/ b]。任何幫助將非常感謝!