No way around. You can't get the contents of and HTMl element in NS4

Mike Burgh wrote:

> Hi all,
> 
>  
> 
>     Has anyone come across the problem of not being able to access the 
> HTML in a inline layer in NS4. It works in IE and NS6, however in NS4 it 
> seems to return no content.
> 
>  
> 
>     Any suggestions ? (Sample code below)
> 
>  
> 
> <html>
> <head>
> <title>DynAPI Examples - ViewPort</title>
> <script language="JavaScript" src="/include_NGS/src/dynapi.js"></script>
> <script language="Javascript">
> DynAPI.setLibraryPath('/include_NGS/src/lib/');
> DynAPI.include('dynapi.api.*');
> DynAPI.include('dynapi.event.*');
> DynAPI.include('dynapi.util.thread.js');
> DynAPI.include('dynapi.util.pathanim.js');
> DynAPI.include('dynapi.gui.viewport.js');
> DynAPI.include('dynapi.gui.label.js');
> DynAPI.include('dynapi.ext.inline.js');
> </script>
> <script language="Javascript">
> 
>  
> 
> DynAPI.onLoad = function() {
> 
>  
> 
>  var divRefContent = this.document.getAll()['refdivContent'];
>  var strContent = divRefContent.getHTML();
>  alert(strContent);
> 
> }
> 
>  
> 
> 
> </script>
> </head>
> <body bgcolor="#ffffff">
> 
>  
> 
> <div name="refdivContent" id="refdivContent" style="position:relative; 
> visibility:hidden">
> Content to Return in popup dialog
> </div>
> 
> 
> </body>
> </html>
> 
>  
> 
> Mike Burgh
> true LOGIC
> T:  +61 2 9963 1756
> E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
>  
> 
> This message may contain confidential, proprietary or
> legally privileged information and is intended only for
> the use of the addressee named above. No confidentiality
> or privilege is waived or lost by any mistransmission.
> 
>  
> 
> Any views expressed in this message are those of the individual
> sender, except where the message specifically states otherwise and the
> sender is authorized to state them to be the views of true LOGIC.
> 
>  
> 



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to