escape

種類メソッド
書式 escape()
解説
文字列をURLエンコードします。
サンプルコード
function sampleCode()
{
txt = "#!PS 3.0";
txtField.data = escape(txt);
}
sampleCode();
実際のスクリプトをダウンロード