为啥只有文本区域的js不弹出alert窗口呢? C18是文本区域控件 我写的沒有错吧 var C15 = contentPane.curLGP.getCellValue("C15", null); var J6 = contentPane.curLGP.getCellValue("J6", null); var C18 = contentPane.curLGP.getCellValue("C18", null); if ((J6 == "" || J6 == null)) { alert("担当者氏名を入力してください"); return false; } if ((C15 == "" || C15 == null)) { alert("問い合わせタイトルを入力してください"); return false; } if ((C18 == "" || C18 == null)) { alert("問い合わせ内容を入力してください"); return false; } |