OS: Linux Browser : Firefox
I need to read a html file content into a string variable through JavaScript ?
Is it possible in javascript ? If yes, Kindly help me with syntax/method to do this
The easiest solution is probably to use the JQuery library.
http://docs.jquery.com/Ajax/jQuery.get
$.get("mypage.html", function(data){
alert("Data Loaded: " + data);
});