Jump to content

lse123

Members
  • Posts

    59
  • Joined

  • Last visited

About lse123

  • Birthday 10/18/1976

Previous Fields

  • Languages
    en, ru

Contact Methods

  • Website URL
    http://
  • ICQ
    0
  • Skype
    lwdlse

Profile Information

  • Interests
    Java, JavaScript, jQuery

lse123's Achievements

Newbie

Newbie (1/7)

7

Reputation

  1. At http://www.w3schools.com/jquery/jquery_ajax.aspthere are some jQuery ajax examples, when want to get other server url's html code page (and preferred only div text with id=("article_main")), well below code failed, is only for native urls? what to use in this case or in case of an otherserver/page.html? txt1=xmlhttp.responseText;txt=txt1.getElementsById("article_main"); <html><head><script type="text/javascript" src="jquery.js"></script><script type="text/javascript">$(document).ready(function(){ $("button").click(function(){ alert("pressed"); $("#gl").load("http://www.yyyy.com/cyprus-property/taxes-fees.html"); }); });//});</script></head><body><p>Artists</p><div id="gl"></div><button>Get html info</button></body></html>
×
×
  • Create New...