iamdavidlee
Programmer
Hi
I have a html pages which has some querystring vales...
I am now trying to get the querysting using javascript and pass it to an XML parser but i dont know how to do that.
The XML parser should look like this...
<xml id="cdcat" src="
But I am not sure how to add the querystring value in the in the above line.
I teid the following
<script language="javascript">
fullURL = parent.document.URL
xxx = fullURL.substring(fullURL.indexOf('?')+3, fullURL.length)
alert(xxx);
</script>
<xml id="cdcat" src="
But this didnt work... help please.....
would really appreciate the help...
Thanks
David
I have a html pages which has some querystring vales...
I am now trying to get the querysting using javascript and pass it to an XML parser but i dont know how to do that.
The XML parser should look like this...
<xml id="cdcat" src="
But I am not sure how to add the querystring value in the in the above line.
I teid the following
<script language="javascript">
fullURL = parent.document.URL
xxx = fullURL.substring(fullURL.indexOf('?')+3, fullURL.length)
alert(xxx);
</script>
<xml id="cdcat" src="
But this didnt work... help please.....
would really appreciate the help...
Thanks
David