Forum: สอบถามปัญหา Notes ทางด้านพัฒนาโปรแกรม (Web Browser) |
Tags1: | Created on Feb 20, 2008, 4:47 PM by McQueen/9Notes|Topic Responses: 2 |
&action=openDocument&documentId=1DFA |
แบบนี้ก็ได้ครับ
เอาไปวางไว้ที่ "onLoad" ใน $$ViewTemplateDefault Form
var noDocumentsFound = document.body.all.tags("H2");
var tagH2, textH2;
for (var i = 0; i < noDocumentsFound.length; i++){
tagH2 = noDocumentsFound[i];
textH2 = tagH2.innerText;
if (textH2.toLowerCase() == "no documents found"){
tagH2.innerHTML = ' ไม่มีเอกสาร ';
}
tagH2.style.display = "block";
} |
|