Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Tony Johansson" Newsgroups: comp.lang.javascript Subject: How to I write if I want to use the passed caseID instead of the static number 999 Date: Mon, 13 Jan 2014 13:15:18 +0100 Organization: A noiseless patient Spider Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Injection-Date: Mon, 13 Jan 2014 12:15:43 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="8fdc2b5af81c338deb7045fc6c39b0e2"; logging-data="8307"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+j/+TCJt9aqAP+vHlUCPgH" X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 Cancel-Lock: sha1:qU9RY5nQm/ZDeIQffghsU3t38yI= X-Priority: 3 X-MSMail-Priority: Normal Xref: csiph.com comp.lang.javascript:22595 When I use the static literal 999 it works but I must use the passed parameter caseID instead when I create a query string function CallServerForUpdate(caseID) { xmlRequest.open("GET", "<%=Page.ResolveUrl("~/GoogleMapCallbackHandler.ashx?caseID=" + 999)%>", true); xmlRequest.onreadystatechange = ApplyUpdate; xmlRequest.send(null); } //Tony