【JavaScript】ダブルクォーテーション(”)とシングルクォーテーション(’)の三重入れ子
三重に入れ子にするとき
document.write("<input type='text' onKeyUp=\"AjaxZip3.zip2addr(this,\' ','add01','add02');\" >")
バックスラッシュ(\)をつける!!
参考
- "と'の中に更にクォーテーションを使うには?
https://www.tohoho-web.com/lng/200001/00010062.htm