Subject: RE: passing username
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Mon, 26 Mar 2001 17:22:55 +0100
|
>Hi Gloria,
Missed this one.
> If you're using MSXML (i.e. doing the
>transformation client-side with IE) then you need to script the
>transformation and use the addParameter() method:
Not necesarily. If Gloria doesn't need it in the transform then
<script language="JavaScript" type="text/javascript">
var querystring = document.location.search;
var bits = querystring.split("&");
var hash = new Array();
for (var i=0; i < bits.length; i++){
var nv = bits[i].split("=");
hash[nv[0]] = nv[1];
}
var username = hash["username"];
something.innerText = "Hello " + username;
</script>
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- passing username
- g p - Sat, 17 Mar 2001 12:40:56 -0500 (EST)
- Goetz Bock - Sat, 17 Mar 2001 13:01:20 -0500 (EST)
- Jeni Tennison - Mon, 26 Mar 2001 10:16:20 -0500 (EST)
- Chris Bayes - Mon, 26 Mar 2001 11:20:30 -0500 (EST) <=
- <Possible follow-ups>
- g p - Wed, 28 Mar 2001 12:31:21 -0500 (EST)
|
|