AJAX not working with jQuery

Posted by Alexander Corotchi on Stack Overflow See other posts from Stack Overflow or by Alexander Corotchi
Published on 2010-01-02T17:13:13Z Indexed on 2010/05/23 11:20 UTC
Read the original article Hit count: 385

Filed under:
|
|

I want to load in <div class="test"> some content from another URL ex: http://someurl.com/default.aspx.

I tried this code:

$(".test").load( 'http://someurl.com/default.aspx');

But it doesn't work.

With local file it works, but not with http://...

Can somebody help me?

Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery