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
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...
I *really* am a newbie at this, so appologise if I'm asking the blindingly obvious.
how would I reference a form variable in a script I've set up to run at the server?
here's the code i've got:
<script language="VB" runat="server">
Sub Page_Load(sender as Object, e as...
not sure if this is possible but I need to write a script to dynamically change the value of an applets parameter.
so far I've got a load of script with, I'm sure, many errors in. but hopefully it'll give you a clue as to what I'm trying to achieve. I'm also not sure if this will work as the...
is it possible to change the width and height of a window once its open?
I'm not limited to Javascript on this so if you can suggest anything else that would be suitable?
thanks for any help
Emma
I'm trying to get some javascript working, unfortunately I didn't write it - and the person who did is on holiday!
This seems to work on some machines and not others (even with the same version of ie, 6).
I think the problem is something to do with the eval function, but i'm not sure what to...
we've got an image map that seems to work perfectly in IE + netscape + opera on the pc.
but not working in ie 5 on the mac. i'm not sure of the differences between v.4 and 5 but can't see why its not working
http://www.vebra.com/home/vebra/vebraagent.asp
can anyone give me some advice...
is there any way we can produce a long list of data and when it is printed a footer appears on the bottom of every page? (so appears at print but not on the screen)
at the moment it's set up to write so many records, then the footer and a pagebreak.
this would be so much easier if there was...
Hi,
I'm fairly new to javascript. I'm trying to write a script to check whether an input is numeric or not and do a different thing depending on the result
at the moment i'm trying this:
if (isNumeric(document.selector.branchid.value)){
searchlink = searchlink + "&branchid=" +...
Hi,
One of our clients wants to count the number of times an email is sent from his website - from both mailto links and the forms.
is there any hit counter that will allow me to count the number of times a mailto link is clicked? this would be even better if we could actually count how many...
Hi,
I'm setting up a simple form to allow users to enter their name and address this information will then be emailed to me. To do this I'm using CDONTS. Are there any security issues associated with allowing emails to be sent from the server. I've checked the microsoft site and couldn't find...
I'm running a cold fusion aplication on a server running windows 2000. recently we've been having a problem with the size of the virtual memory, it seems to rapidly expand until cold fusion server is stopped and started. however this does not return the paging file to a reasonable size.
At the...
We have a coldfusion application running on a server, using SQL, this is the only thing the server is used for.
We have recently had problems with memory, the virtual memory expands itself rapidly and uses up all the free space on the drive. the last time this happend we got down to 3MB and...
when trying to write a file using the following code the error message - "There was a sharing violation" appears. The file is already there but even so this shouldn't be causing the message.
code:
<cffile ACTION="Write"...
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.