var scrUrl;
var Host = "http://www.example.com/read.php";;

function inializeUrl()
                {
                        scrUrl = Host //+ string //in de string komt de api key 
te staan
maar omdat die niet standaard is maak ik er later een string van
                }
function do_it()
                {
                        inializeUrl();

                var letitsee = document.getElementById("////ID OF DIV
WHERE IT HAS TO GO INTO\\\\\\");
                letitsee.innerHTML = "<iframe id='iframe' src='"+srcUrl+"'
frameborder='0' scrolling='yes'></iframe>";
                }

little script i have written today for a mail pakage service.
I selected the things out of it what u need know you have only have to
call the do_it function in your document now and make a div where it
has to be printed in.
(

<div id="//This name has to be the same as the capslock part\\">

</div>

)

On Jul 7, 9:19 am, Neha <neha2...@gmail.com> wrote:
> Hey guys,
>
> Myself totally new in this javascript world....i have to read the
> contents of a .php file which is placed on the webserver...say 
> (http>//www.example.com/read.php)...howto do that???

Reply via email to