Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Inserting HTML into RTB


Message #1 by "Robert Sindall" <rsindall@z...> on Thu, 30 Jan 2003 14:29:50 -0000
thats fine the html files don't have any <html> or <head> etc...

only the table structure which is the template.

thanks

Robert

-----Original Message-----
From: SEAK, Teng-Fong [mailto:tfseak@f...]
Sent: 30 January 2003 16:55
To: javascript
Subject: [javascript] RE: Inserting HTML into RTB


	Seems like you're making online editor.  You can try Robert's
suggestion first, but I am afraid that would just give the content of 
<body>
element.  In other words, <head> element content (like <title>, <script> 
or
<style> would be lost).  OTOH, be aware that IFrame isn't supported in 
old
browser.  Frame might be an alternative, but IMO, the most sure solution 
is
to use server-side include.  Ask your webserver administrator if you 
could
use server-side coding.

> -----Message d'origine-----
> De : Robert Sindall [mailto:rsindall@z...]
> Envoy=C3=A9 : jeudi 30 janvier 2003 16:56
> =C3=80 : javascript
> Objet : [javascript] RE: Inserting HTML into RTB
>
>
> for the sake of the problem..  lets say its a multi line textbox...
>
> how can i load the source HTML from a file into a variable?
>




  Return to Index