reading external server file in jquery and php -


I have to load an external HTML page in my code

  $ (document) ready (Function () {$ ("#check") .load ("http://www.mysite.com/names.html")});  

And I need my script to read this external HTML page

Is also possible in jquery or php ?!

I have to know all the possible ways.

instead of using .ajax .load

  $ Do some work with Ajax ({url: "http://www.mysite.com/names.html", cache: wrong, success: function (html) {// Html}};  

See more:


Comments