Dieter,
We haven't provide API for that yet.
You can try this code:
- function SearchUploaderIFrame()
- {
- var iframes=document.getElementsByTagName("IFrame");
- for(var i=0;i<iframes.length;i++)
- {
- var f=iframes[i];
- if(f.ischecked)continue;
- if(!f.contentWindow)continue;
- if(!f.contentWindow.document)continue;
- if(!f.contentWindow.document.body)continue;
- f.ischecked=true;
-
- var inputs=f.contentWindow.document.getElementsByTagName("INPUT");
- for(var j=0;j<inputs.length;j++)
- {
- var inp=inputs[j];
- if(inp.type=="file")
- {
- inp.style.backgroundColor="red";
- }
- }
- }
- }
- setInterval(SearchUploaderIFrame,10);
Regards,
Terry