Jump to content

viswa46

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About viswa46

  • Rank
    Newbie
  1. viswa46

    CSS Layout

    Hi, I'm new to css need to design a layout where at the center of the window website content should be present and on left and right of the space should be left(which is normally across the websites). Can you please guide me here!! Thanks in advance!!
  2. Hi Everyone, I've use case lets us say in a paragraph i've 100 lines i need to display first 50 lines and other 50 lines should not be displayed.But when i click on Read More link all the lines should be displayed(100 lines). When the 100 lines are displayed then the close link should be enabled and when i click on the link 50 lines should be displyed. Thanks in advance!!
  3. Hi, Thanks for the suggestion the console.log done the trick for me it helped to debug the responseXML. document.getElementById("textDisplay").value=xmlhttp.responseXML.docElement.childNodes[0].text // It works Thanks again!!
  4. Hi, I'm not aware of which responseFromServer node can you please elaborate here please. Thanks, Viswa
  5. Hi , Please find the below snippet <script type="text/javascript"> var xmlhttp; if (window.XMLHttpRequest) { xmlhttp = new XMLHttpRequest(); } else if (window.ActiveXObject) { isIE = true; xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } function sendMessageToServer() { xmlhttp.open("POST","/LabAjax04/AjaxDemoServlet?name="+document.getElementById("inputDisplay").value,true); xmlhttp.onreadystatechange=receiveMessageFromServer; xmlhttp.send(); document.getElementById("inputDisplay").value=''; } function receiveMessageFromServer() { if (xmlhttp.readyState==4 && xmlht
  6. Hi EveryOne, In the below snippet is there any syntaxt error or is there a better way to parse the xml doc. alert(xmlhttp.responseXML.getElementsByTagName("responseFromServer")[0].text);// displays undefined alert(xmlhttp.responseText);//display the response from server document.getElementById("textDisplay").value=xmlhttp.responseXML.getElementsByTagName("responseFromServer")[0].text; Regards, Viswa
  7. Hi All, i'm doing sample ajax exercise and getting the response from server but the response work fine in IE browser but not in firefox/chrome browser. below is the code snippet also find the snippet ========================= ajaxdemo.html =========================l <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <input type="text" id="inp
×
×
  • Create New...