Hi,
I'm trying to write some JScript code to query a database and give the output as a pure XML file... I've found loads of help doing this with VBScript but none for JScript.
If I can get:
<%@LANGUAGE="JScript"%>
<%
response.ContentType="text/xml"...
I need to allow a user to upload an image and then automatically resize it to no larger than 300 x 225.
I've found several methods of doing this but all require "GD library" to be installed on the host. Which the hosts are at the moment unwilling to do.
is there another way to do...
I'm using Jscript and attempting to write something to strip out all "<br>" tags in a string and replace them with nothing i'm using:
Introduction = Introduction.replace("<br>", "");
however this seems to be replacing only the first <br> tag in the string.
can...
Hi,
I'm having huge trouble with some XSL.
I'm trying to output XML with alternate lines coloured differently... so far I've got this:
<xsl:variable name="row-number" select="position()"/>
<tr class="
<xsl:choose>
<xsl:when test="$row-number mod 2 =...
Hi,
I'm having trouble finding any resources to help me with this.
I need to open an XML document and display it to the screen using JSCRIPT. The web seems full of info for VBscript but unfortunately that's no good.
Any help would be great!
Emma
that's great thanks!
just solved my own problem (well that one anyway).
I needed to put the Server.MapPath that you suggested in!
thanks for your time
Emma
thanks, I've taken that bit out (moved the file to the same folder).
now I've got:
XMLDoc = Server.CreateObject("Microsoft.XMLDOM"); XMLDoc.async = false;
XMLDoc.Load(Request.Form("FileLocat"));
rootNode = XMLDoc.documentElement;
and it's telling me "Object doesn't...
Is there any reason I can't do this is Jscript?
XMLDoc = CreateObject("Microsoft.XMLDOM");
XMLDoc.async = False;
XMLDoc.load("c:\aspnet\" & Request.Form("FileLocat"));
Set rootNode = XMLDoc.documentElement;
I get this error back:
Expected ')'
/home/ViewXML.asp...
I'm having huge trouble with an aspx script. I'm really sorry if you've replied to anything like this before - please point me in the right direction.
I've written a form which sends information to a remote server, this then creates an xml file and sends me back the location as a form field...
I'm sure this is an easy one but it's driving me mad.
I'm using Jscript and have tried:
Headline = replace(Request.Form("Headline"), vbCr, "<br>");
Headline = replace(Request.Form("Headline "), lr, "<br>");
Headline = Replace(Request.Form("Headline...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.