Jump to content

nobitavn94

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by nobitavn94

  1. I want to draw a line before the menu at footer .But I don't know to use what language:HTML or VML ?Can anyone help me ?.If possible ,give me some code ?Thank a lots !
  2. Here are some code :function getXMLHTTPRequest(){var xmlHttp;// if running Internet Explorerif(window.ActiveXObject){try{xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");}catch (e){xmlHttp = false;}}// if running Mozilla or other browserselse{try{xmlHttp = new XMLHttpRequest();}catch (e){xmlHttp = false;}}// return the created object or display an error messageif (!xmlHttp)alert("Error creating the XMLHttpRequest object.");elsereturn xmlHttp;}function getOnlineClass(){var url = 'http://localhost/MyOnlineClass?sql=SELECT* from LOP FOR XML AUTO &root=DSLOP';http.open("GET", url, true);http.onreadystatechange = useHttpResponse;http.send(null);}var http = getXMLHTTPRequest();http.async =true;function useHttpResponse(){ if (http.readyState == 4) { if(http.status == 200){ var doc =http.responseXML ;document.getElementById("txtArea").innerText=doc.DocumentElement.FirstChild.Attributes["MaLop"].Value;}}else {}}
  3. Hi all !I'm using AJAX+HTTP object to query data from SQL Server .And I want the result is a XML file.But the responseXML property of XMLHttpResquest is null,whereas responseText property contains the content of a XML file (a XML string ).I wonder if I made any mistakes .Can any one help me ?Thanks.
  4. Thanks again for your explanation !
  5. I follow your code ,but it doesn't work. Then , the link each text inside td tag like this:"..../showCatalog?id='$id' " . I want $id store <xsl:value-of select="Id"/> value .I wonder if I made mistakes anywhere .Thanks !
  6. I follow your code ,but it doesn't work. Then , the link each text inside td tag like this:"..../showCatalog?id='$id' " . I want $id store <xsl:value-of select="Id"/> value .I wonder if I made mistakes anywhere .Thanks !I follow your code ,but it doesn't work. Then , the link each text inside td tag like this:"..../showCatalog?id='$id' " . I want $id store <xsl:value-of select="Id"/> value .I wonder if I made mistakes anywhere .Thanks !
  7. I'm new in XSLT.I want to use avariable to store Id as a parameter like this :<xsl:for-each select="NewDataSet/Table"> <tr> <td style="font-family: Verdana;font-size : 8pt;color:blue"> <xsl:variable name="id" select="Id" /> <xsl:value-of select="Id"/>. </td> <td> <a href="showCatalog.aspx?id='$name'" class="catalogLink" ><xsl:value-of select="Name"/> </a> </td> </tr> </xsl:for-each>but this code doesn't work properly.Can any one help me ?Thanks you very much !
×
×
  • Create New...