Javascript include...

Soldato
Joined
31 May 2006
Posts
4,239
Location
127.0.0.1
Hi all

We have a webserver (lets call it server 1) that does not have asp or php on. We can serve pages from it and have javscript in it the pages.

What we want to do is include an asp page that is on another web server (say server 2) using javscript on included on a page that is served from server 1.... to make it look like it all came served from server 1.

Can this be done? Javascript maybe?

Thanks in advanced!
 
You seem to be a bit confused on what you're after as JS is all client side and ASP is server side - so JS wouldn't be any use.

What is it you're trying to achieve?
 
you can theoretically use javascript to include a server-side page, but don't rely on this as it's very easy for people to disable javascript and render your site useless if you don't offer an alternative site to non-js users.
 
You seem to be a bit confused on what you're after as JS is all client side and ASP is server side - so JS wouldn't be any use.

What is it you're trying to achieve?

I thought it was quite clear to be honest.

But it doesn't matter now i've found an answer. I have tried iframes and it works great.
 
Back
Top Bottom