Click to See Complete Forum and Search --> : From resource file


Tea.Cup
06-01-2003, 06:54 AM
Is there a way to get from a *.js or *.css file text to fill in the html page

ie
this is in the *.js or *.css file
val t1="The line in the file";



<p>Some text here with</p> +t1


Please help

Charles
06-01-2003, 07:12 AM
Originally posted by Tea.Cup
Is there a way to get from a *.js or *.css file text to fill in the html page Yes, on both accounts. But the JavaScript method will fail 13% of the time and the CSS method doesn't work on any browser with which I am familiar. And you ned to make sure that your page works on browsers without JavaScript and CSS.

Use some sort of server side method instead. Talk to your server folks and find out what's available.