Hey, This is a pretty simple question. Is there any easy way to read data from a server side file. I know that Javascript is client side. I was thinking you write a php script to get the data, then open that url in Javascipt? Is it possible to use javascript to get the code of a url? Sorry this is probably very noobish. Thanks guys!
Read data from serverside file?
Collapse
X
-
Tags: None
-
-
If the server-side file returns something which JavaScript can read, e.g. JSON, then you can also use a dynamically created script element.
PS. Ajax wasn't necessarily developed. It was a term coined to make it easier to refer to the new approach in web development in this article.Comment
-
Originally posted by acoderPS. Ajax wasn't necessarily developed. It was a term coined to make it easier to refer to the new approach in web development in this article.
(j/k)
RegardsComment
Comment