JavaScript 控制 Form 的 targe 屬性

普通Form
 <form name = "test"/>
JS:
 document.test.target="_blank或者你要設置的值"
Struts
 <html:form ...?
 document.當前頁面對應的Form名.target="Value"; 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章