Page 1 of 1

How to load a external html page ?

PostPosted: Fri Nov 30, 2007 4:22 pm
by yoyo
Hi all, I am new here.
Sorry for my bad English.

Small quick question:

How to load a external html page ?

Examples :
jsFunction="openPage('center','Html page','http://www.myswebsite.com','Tab view','Tab view')

It's possible?

Because I could not find an example of this operation.

Thank you in advance for your answers

PostPosted: Fri Nov 30, 2007 4:31 pm
by Batalf
Hi

There's a security restriction which doesn't allow you to open external websites via ajax.

You need to do this by a workaround.

Examples:

1) Have a php script read the external website and output it's content. Then link your ajax script to that php script

or

2) Create an html page with an iframe, and link to your local html file.

PostPosted: Fri Nov 30, 2007 4:53 pm
by yoyo
Thanks!

I am really stupid!