AJAX不适用于jQuery

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

查看全部
weixin_33712987
weixin_33712987
2010/01/02 17:13
  • ajax
  • javascript
  • jquery
  • 点赞
  • 收藏
  • 回答
    私信

3个回复