simple JavaScript URL Question

admin

Administrator
Staff member
<script type="text/javascript">
var pagetitle = document.title;
document.write(pagetitle);
sURL = ('http://localhost/reports/help/drew.aspx?pagetitle= + pagetitle')
</script>

I am trying to pass the page title to another page via url and I think my string may be off a little.

I pass the variable sURL to the other page but don't get the value just the string name. Can anyone out there give me a lead?
 
Back
Top