Is there anyway to get content html from url via javascript ?(not use ajax or "load" method jquery because for security Access-Control-Allow-Origin ).
Asked
Active
Viewed 201 times
1 Answers
1
No. There's no way to load content without using ajax.
Bhojendra Rauniyar
- 78,842
- 31
- 152
- 211
-
oh,if I get content html from url via ajax,and have some url I get error "Access-Control-Allow-Origin".I try to fix but I can not fix – user3828514 Jul 28 '14 at 08:47
-
check this url : http://stackoverflow.com/questions/10642289/return-html-content-as-a-string-given-url-javascript-function i think u need html content in string url – Ranvijay Sachan Jul 28 '14 at 08:50