this.removeAllAttachments = function(){
while(numAttachs>0){
var attach=getElement("newmessage_header_tbody").childNodes[27];
getElement("newmessage_header_tbody").removeChild(attach);
numAttachs--;
}
setText(getElement("attachment_text"),"Dosya Ekle");
27 tane childNode saymak ne kadar surdu acaba?
Hiç yorum yok:
Yorum Gönder