Jump to content


  • Posts

  • Joined

  • Last visited

About lse123

  • Birthday 10/18/1976

Previous Fields

  • Languages
    en, ru

Contact Methods

  • Website URL
  • ICQ
  • Skype

Profile Information

  • Interests
    Java, JavaScript, jQuery

lse123's Achievements


Newbie (1/7)



  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>
  2. Is any way parse an html page (php) not in my domain(hosting)? I want first get all page text after a particular div#id text to insert with innerHTML in a div in my site, well what is wrong below, have to be in local host(?) php server to work or this is ok>>> file:///C:/Documents%20and%20Settings/Shop/My%20Documents/edu/parseHTMLplain.html ? <html><head><script type="text/javascript">function loadXMLDoc(url){var xmlhttp;var txt,x,xx,i;if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); }else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { txt=xmlhttp.responseText; document.getElementById('txtCDInfo').innerHTML=txt; } }xmlhttp.open("GET",url,true);xmlhttp.send();}</script></head><body><div id="txtCDInfo"><button onclick="loadXMLDoc('http://www.foreign-url.com/cyprus-property/index.php')">Get CD info</button></div></body></html>
  3. I am mean W3schools exams ... what is required in each, directly or indirectly...? please be exact about this...
  4. I plan give: Js exam jQuery exam Can you tell?1. What Tutorials included in each Exam to study?2. What Tutorials is good to study for each Exam but not included directly?
  5. lse123

    Xml Pre Exam Qs

    A)Schemas exist only exrnal to XML Document or may be Internal? <tag1>I am leaving > now </tag1><!-- I am leaving > now --> These are well former? what if replace ">" with "<"?
  6. A)this is valid ...no "/"? what folder/subfolder is meant?xsi:schemaLocation="http://www.w3schools.com note.xsd" B)http://www.w3schools.com/schema/schema_dtypes_numeric.asp An unsigned 32-bit integer A signed 32-bit integer what are the ranges signed positive go to half of unsigned? C)http://www.w3schools.com/schema/schema_dtypes_misc.aspi)missing values in last Table here?ii) base64Binary (Base64-encoded binary data) hexBinary (hexadecimal-encoded binary data) what differ the numbers, give binary example numeric?
  7. In XLink Examples the links are valid when converted to xhtml docs via XSLT?
  8. http://www.w3schools.com/dtd/dtd_entities.asp last example An External Entity Declaration DTD Example:<!ENTITY writer SYSTEM "http://www.w3schools.com/entities.dtd"><!ENTITY copyright SYSTEM "http://www.w3schools.com/entities.dtd">XML example:<author>&writer;&copyright;</author> Question: what entities.dtd file should look like?
  9. http://www.w3schools.com/dtd/dtd_elements.asp last Example:<!ELEMENT note (#PCDATA|to|from|header|message)*> PCDATA... this means can contain and other elements, even elements of elements[sub tree]?
  10. my dreamweaver template bought from "Template Monster" site is jquery,... I have implemented independently (of jQuery) ajax in newsletters enroll, so email come to me upon new newsletters registrations, and web page no move to other page, but the problem is that after submit page auto scrolled to TOP, rather stay in the same place, any TIP keep in same place the same page?
  11. how after press [the visitor _ car rentals site] PRINT INVOICE a new window appear with invoice [till here know], but same time open the Print window automatically, to configure what/how Print? I mean without the need to press Print in file menu...well?
  12. document.onload=load;window.onload=load; // like this you mean?
  13. in the xml exam(Learn XML) also included what? from below tutorials to get read?XML TutorialsLearn DTDLearn XML DOMLearn XSLTLearn XPathLearn XQueryLearn XLinkLearn XPointerLearn SchemaLearn XSL-FOLearn XForms
  14. I started XML TUTORIAL but refers have some knowledge of Javascript...including read js tutorial... well I have cert from w3s of PHP, HTML, CSS and read some books in Javascript[3-4 yrs ago], well may take later the Javascript exam? Please answer and above asap!
  • Create New...