url = I've tried to put the following code into my html page, but it is not showing up.
This is index.htm
<script Language="JavaScript">
var qry = location.search
var qrytextnosplit = qry.substring(1)
var qrytext = qry.substring(1).split("="
</script>
This is nextpage.htm
<script Language="JavaScript">
var displayname=parent.qrytext;
document.write("<b>Your name is:</b> "+displayname);
</script>
And the displayname variable is displaying as:
Your name is: Name=Michael,Smith%20M
And I want to take out the Name= and %20...So what left is just the name. But I can't seem to get it to split.
Thank you,
This is index.htm
<script Language="JavaScript">
var qry = location.search
var qrytextnosplit = qry.substring(1)
var qrytext = qry.substring(1).split("="
</script>
This is nextpage.htm
<script Language="JavaScript">
var displayname=parent.qrytext;
document.write("<b>Your name is:</b> "+displayname);
</script>
And the displayname variable is displaying as:
Your name is: Name=Michael,Smith%20M
And I want to take out the Name= and %20...So what left is just the name. But I can't seem to get it to split.
Thank you,