Skip to content Skip to sidebar Skip to footer

Jquery Load Works On Dreamweaver But Not In Browsers

I used the .load() function. It works in Dreamweaver's Live View, but not in Firefox, Chrome, or IE. Here is my HTML section:

Solution 1:

See this page from the jQUery documentation.

From the Documentation:

"Due to browser security restrictions, most "Ajax" requests are subject to the same origin policy; the request can not successfully retrieve data from a different domain, subdomain, or protocol."

So, DreamWeaver must not have the security restrictions that most browsers have, so it works in DreamWeaver. But an absolute path will not work as an argument for .load() in most browsers.

Post a Comment for "Jquery Load Works On Dreamweaver But Not In Browsers"