I need to get #Menu
div
portion of a site in a different domain through jQuery into my #menu
in my current site. I am using $(#menu).load(www.example.com/index.html #menu);
. I am getting permissions denied error. any suggestions?
Asked
Active
Viewed 28 times
0

Wandile
- 174
- 1
- 16
-
1It will depends on whether CORS support is enabled in the target domain – Arun P Johny Feb 27 '14 at 08:46
-
U must store the html into a var then use find to find this variable – Jain Feb 27 '14 at 08:46
-
@pete Thanks dude let me check these suggestions and see, this may take some time. – Wandile Feb 27 '14 at 09:21
-
@ArunPJohny I will check CORS support, its just that time is what i dont have – Wandile Feb 27 '14 at 09:25