1
我是新來的紅寶石,並嘗試在這裏打電話給js函數onchange,但沒有工作,沒有得到合適的答案。爲什麼我的onchange函數不能正常工作?
= f.select :amendment_type, [['Renewal','renewal'],['Lease Amendment Agreement','Lease Amendment Agreement'],['Expansion','Expansion'],['Storage','Storage'],['Parking','Parking'],['Other(for me to fill in)','Other']], class: "amendment_type input", style: "width: 450px;", onchange: "alert('hello')"
顯示呈現的HTML。 –