views:

16

answers:

0

Hi Guys.

I need to pass some variables in a query string after it's run through a function once I click on a link.

So this is what I thought should happen:

<a href="/Print.aspx& + 'vars'" onclick="collectPrintOptions();" target="_blank"><strong>PRINT MY COVERAGE OPTIONS</strong></a>

And my javascript function:

function collectPrintOptions() {
        var url="&James=Male"
    } 

Thanks!