Click here to Skip to main content
14,733,541 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to read .html file in javascript and store content of the file in string variable?
Posted
Comments
[no name] 15-Jul-13 8:17am
   
And what have you tried? What errors do you get with your code?
[no name] 15-Jul-13 8:35am
   
still i didn't got start because i don't know how to read html using javascript.
I hava multiple html pages which i have created and now i want to read the all html one by one using javascript.
[no name] 15-Jul-13 8:46am
   
So you need to go and try something. A simple google search for "how to read .html file in javascript" will get you about 231,000,000 results.
[no name] 15-Jul-13 8:50am
   
before posting question here i searched on google but i didn't got anything usefull.
[no name] 15-Jul-13 9:59am
   
Then I would suggest that you did not try very hard. Not a single one of those 200 million links to tell you exactly how to do this very thing were not useful at all? And you went through every single one? Hard to believe.
G4mm4R4y 31-Jul-13 13:56pm
   
Does it have to be javascript? Can it be php?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900