Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   JavaScript and Client-Side Browser Scripting (http://www.programmingforums.org/forum23.html)
-   -   How can i do an include ??? like a server side include but it has to be client side (http://www.programmingforums.org/showthread.php?t=11856)

paulchwd Nov 11th, 2006 8:27 PM

How can i do an include ??? like a server side include but it has to be client side
 
Hi all..

is there any kind of equivalent to an include statement in JavaScript or VBScript

?????

dr.p Nov 11th, 2006 10:50 PM

Hola. There's the standard include that you use in an HTML document.
:

<script language="JavaScript" type="text/css" src="FILE.js"> </script>
And there is a method to use JavaScript include a new document into an HTML doc, which is described in this blog entry: http://www.phpied.com/javascript-include-ready/

Almost forgot... google "javscript include".

paulchwd Nov 12th, 2006 10:55 AM

i;ll take a look.... many many thanks... and happy programming


All times are GMT -5. The time now is 8:20 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC